| Path : /var/www/html/thb_loan_system/storage/framework/views/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/thb_loan_system/storage/framework/views/6a789f9ebb7912cb73fdea9a0febeb85ffe897c1.php |
<?php $__env->startSection('title'); ?>
<?php echo e(translate('user')); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="panel panel-white">
<div class="panel-heading">
<h6 class="panel-title"><?php echo e(translate('user')); ?></h6>
<div class="heading-elements">
<?php if(Sentinel::hasAccess('users.create')): ?>
<a href="<?php echo e(url('user/create')); ?>" class="btn btn-info btn-xs">
<?php echo e(translate('add user')); ?>
</a>
<?php endif; ?>
</div>
</div>
<div class="panel-body table-responsive">
<table class="table table-striped table-hover table-condensed" id="data-table">
<thead>
<tr>
<th><?php echo e(translate('name')); ?></th>
<th><?php echo e(translate('gender')); ?></th>
<th><?php echo e(translate('phone')); ?></th>
<th><?php echo e(translate('email')); ?></th>
<th><?php echo e(translate('max_approval')); ?></th>
<th><?php echo e(translate('role')); ?></th>
<th><?php echo e(translate('action')); ?></th>
</tr>
</thead>
<tbody>
<?php $__empty_1 = true; $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
<tr>
<td><?php echo e($key->first_name); ?> <?php echo e($key->last_name); ?></td>
<td><?php echo e($key->gender); ?></td>
<td><?php echo e($key->phone); ?></td>
<td><?php echo e($key->email); ?></td>
<td class="credit"><?php echo e($key->max_approval?currency_converter($key->max_approval, 2):""); ?></td>
<td>
<?php if(!empty($key->roles)): ?>
<?php if(!empty( $key->roles->first())): ?>
<span class="label label-danger"><?php echo e($key->roles->first()->name); ?> </span>
<?php endif; ?>
<?php endif; ?>
</td>
<td>
<ul class="icons-list">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-menu9"></i>
</a>
<ul class="dropdown-menu dropdown-menu-right">
<?php if(Sentinel::hasAccess('users.view')): ?>
<li>
<a href="<?php echo e(url('user/'.$key->id.'/show')); ?>"><i
class="fa fa-search"></i>
<?php echo e(translate('detail')); ?></a>
</li>
<?php endif; ?>
<?php if(Sentinel::hasAccess('users.update')): ?>
<li>
<a href="<?php echo e(url('user/'.$key->id.'/edit')); ?>"><i
class="fa fa-edit"></i>
<?php echo e(translate('edit')); ?></a>
</li>
<?php endif; ?>
<?php if(Sentinel::hasAccess('users.delete')): ?>
<li>
<a href="<?php echo e(url('user/'.$key->id.'/delete')); ?>"
class="delete"><i
class="fa fa-trash"></i>
<?php echo e(translate('delete')); ?></a>
</li>
<?php endif; ?>
</ul>
</li>
</ul>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
<tr class="odd text-center">
<td colspan="10" class="dataTables_empty"><?php echo e(translate('zeroRecords')); ?></td>
</tr>
<?php endif; ?>
</tbody>
</table>
<?php echo e($data->withQueryString()->links()); ?>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer-scripts'); ?>
<script>
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/thb_loan_system/resources/views/user/data.blade.php ENDPATH**/ ?>