<?php $__env->startSection('CSS'); ?>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('Contenido'); ?>
<div class="row">
	<div class="col-md-12">
		<h2><i class="fa fa-users"></i> Administración de clientes </h2>
	</div><!--/col-md-12-->
</div><!--/row-->

<div class="row">
	<div class="col-md-12">
		<?php if(Session::has('message')): ?>
		<div class="alert alert-info"><?php echo Session::get('message'); ?></div>
		<?php endif; ?>
	</div>
</div>

<div class="row">
	<div class="col-md-12">
		<div class="block-web">
			<div class="header"> <h3 class="content-header"> Clientes registrados </h3> </div>
			<div class="porlets-content">
				<div class="table-responsive">
					<table class="table table-striped table-bordered table-hover">
						<thead>
							<tr>
								<th class="col-md-2"> Nombre del usuario </th>
								<th class="col-md-2"> Correo electrónico </th>
								<th class="col-md-4"> Empresa </th>
								<th class="col-md-2"> Pais </th>
								<th class="col-md-2"> Acciones </th>
							</tr>
						</thead>
						<tbody>
							<?php $__empty_1 = true; foreach($Clientes as $Cliente): $__empty_1 = false; ?>
							<tr>
								<td> <?php echo $Cliente->nombre_completo; ?> </td>
								<td> <?php echo $Cliente->correo_electronico; ?> </td>
								<td> <?php echo $Cliente->empresa; ?> </td>
								<td> <?php echo Locale::getDisplayRegion('-'.$Cliente->pais, 'es'); ?> </td>
								<td>
									<a href="<?php echo URL::route('SysWebPerfil', array($Cliente->users_id)); ?>" class="btn btn-success"> Perfil </a>
								</td>
							</tr>
							<?php endforeach; if ($__empty_1): ?>
							<tr class="danger"> <td colspan="4"> No existe ningún cliente registrado </td> </tr>
							<?php endif; ?>
						</tbody>
					</table>
				</div>
			</div>
			<div class="bottom">
				<?php echo HTML::linkRoute('SysWebUsuariosAgregar', 'Agregar', array(), array('class' => 'btn btn-primary')); ?>

			</div>
		</div>
	</div>
</div><!--/row end-->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('JS'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('JSOr'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('BaseSistemaWeb', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>