| 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/72fda2fe05bb40b519e6773e5eb3dff066a52ce3.php |
<?php $__env->startSection('title'); ?>
<?php echo e($user->first_name); ?> <?php echo e($user->last_name); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="row">
<div class="col-md-6">
<div class="panel panel-white">
<div class="panel-heading">
<h6 class="panel-title"><?php echo e($user->first_name); ?> <?php echo e($user->last_name); ?></h6>
<div class="heading-elements">
</div>
</div>
<div class="panel-body">
<table class="table table-responsive table-hover">
<tr>
<td><?php echo e(translate('gender')); ?></td>
<td><?php echo e($user->gender); ?></td>
</tr>
<tr>
<td><?php echo e(translate('email')); ?></td>
<td><?php echo e($user->email); ?></td>
</tr>
<tr>
<td><?php echo e(translate('phone')); ?></td>
<td><?php echo e($user->phone); ?></td>
</tr>
<tr>
<td><?php echo e(translate('address')); ?></td>
<td><?php echo $user->address; ?></td>
</tr>
<tr>
<td><?php echo e(translate('created_at')); ?></td>
<td><?php echo e($user->created_at); ?></td>
</tr>
<tr>
<td><?php echo e(translate('updated_at')); ?></td>
<td><?php echo e($user->updated_at); ?></td>
</tr>
<tr>
<td><?php echo e(translate('last_login')); ?></td>
<td><?php echo e($user->last_login); ?></td>
</tr>
</table>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-white">
<div class="panel-heading">
<h3 class="panel-title"><?php echo e(translate('note')); ?></h3>
<div class="heading-elements">
</div>
</div>
<div class="panel-body">
<?php echo $user->notes; ?>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="panel panel-white">
<div class="panel-heading">
<h6 class="panel-title"><?php echo e(translate('payroll')); ?></h6>
<div class="heading-elements">
</div>
</div>
<div class="panel-body table-responsive">
<table id="view-repayments"
class="table table-striped table-condensed table-hover dataTable no-footer">
<thead>
<tr role="row">
<th><?php echo e(translate('pay date')); ?></th>
<th>
<?php echo e(translate('gross amount')); ?>
</th>
<th>
<?php echo e(translate('total deduction')); ?>
</th>
<th>
<?php echo e(translate('net amount')); ?>
</th>
<th>
<?php echo e(translate('paid amount')); ?>
</th>
<th><?php echo e(translate('recurring')); ?></th>
<th>
<?php echo e(translate('payslip')); ?>
</th>
<th>
<?php echo e(translate('action')); ?>
</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $user->payroll; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td>
<?php echo e($key->date); ?>
</td>
<td>
<?php echo e(\App\Helpers\GeneralHelper::single_payroll_total_pay($key->id)); ?>
</td>
<td>
<?php echo e(\App\Helpers\GeneralHelper::single_payroll_total_deductions($key->id)); ?>
</td>
<td>
<?php echo e(\App\Helpers\GeneralHelper::single_payroll_total_pay($key->id)-\App\Helpers\GeneralHelper::single_payroll_total_deductions($key->id)); ?>
</td>
<td><?php echo e($key->paid_amount); ?></td>
<td>
<?php if($key->recurring==1): ?>
<?php echo e(translate('yes')); ?>
<?php else: ?>
<?php echo e(translate('no')); ?>
<?php endif; ?>
</td>
<td>
<div class="btn-group-horizontal">
<a type="button" class="btn-xs bg-blue"
href="<?php echo e(url('payroll/'.$key->id.'/payslip')); ?>"
target="_blank"><?php echo e(translate('generate_payslip')); ?></a>
</div>
</td>
<td>
<div class="btn-group-horizontal">
<a type="button" class="btn-xs bg-purple"
href="<?php echo e(url('payroll/'.$key->id.'/edit')); ?>"><?php echo e(translate('view_modify')); ?></a><a
type="button" class="btn-xs bg-navy margin delete"
href="<?php echo e(url('payroll/'.$key->id.'/delete')); ?>"><?php echo e(translate('delete')); ?></a>
</div>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('footer-scripts'); ?>
<script>
$('.data-table').DataTable({
"language": {
"lengthMenu": "<?php echo e(translate('lengthMenu')); ?>",
"zeroRecords": "<?php echo e(translate('zeroRecords')); ?>",
"info": "<?php echo e(translate('info')); ?>",
"infoEmpty": "<?php echo e(translate('infoEmpty')); ?>",
"search": "<?php echo e(translate('search')); ?>",
"infoFiltered": "<?php echo e(translate('infoFiltered')); ?>",
"paginate": {
"first": "<?php echo e(translate('first')); ?>",
"last": "<?php echo e(translate('last')); ?>",
"next": "<?php echo e(translate('next')); ?>",
"previous": "<?php echo e(translate('previous')); ?>"
},
"columnDefs": [
{"orderable": false, "targets": 0}
]
},
responsive: true,
});
</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/show.blade.php ENDPATH**/ ?>