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/6cc8d132b18de6e3506dda9b2deb5c28dd72bfeb.php |
<?php $__env->startSection('title'); ?> <?php echo e(translate('collateral')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="panel panel-white"> <div class="panel-heading"> <h6 class="panel-title"><?php echo e(translate('collateral')); ?> </h6> <div class="heading-elements"> </div> </div> <div class="panel-body table-responsive"> <table id="data-table" class="table table-striped table-condensed table-hover"> <thead> <tr> <th> # </th> <th><?php echo e(translate('type')); ?></th> <th><?php echo e(translate('name')); ?></th> <th><?php echo e(translate('borrower')); ?></th> <th><?php echo e(translate('loan')); ?></th> <th><?php echo e(translate('value')); ?></th> <th><?php echo e(translate('status')); ?></th> <th><?php echo e(translate('date')); ?></th> <th><?php echo e(translate('action')); ?></th> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index=> $key): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td> <?php echo e($index+1); ?> </td> <td> <?php if(!empty($key->collateral_type)): ?> <?php echo e($key->collateral_type->name); ?> <?php endif; ?> </td> <td><?php echo e($key->name); ?></td> <td> <?php if(!empty($key->borrower)): ?> <a href="<?php echo e(url('borrower/'.$key->borrower_id.'/show')); ?>"> <?php echo e($key->borrower->first_name); ?> <?php echo e($key->borrower->last_name); ?></a> <?php endif; ?> </td> <td><a href="<?php echo e(url('loan/'.$key->loan_id.'/show')); ?>"># <?php echo e($key->loan_id); ?></a></td> <td class="credit"><?php echo e(currency_converter($key->value)); ?></td> <td> <?php if($key->status=='deposited_into_branch'): ?> <?php echo e(translate('deposited_into_branch')); ?> <?php endif; ?> <?php if($key->status=='collateral_with_borrower'): ?> <?php echo e(translate('collateral_with_borrower')); ?> <?php endif; ?> <?php if($key->status=='returned_to_borrower'): ?> <?php echo e(translate('returned_to_borrower')); ?> <?php endif; ?> <?php if($key->status=='repossession_initiated'): ?> <?php echo e(translate('repossession_initiated')); ?> <?php endif; ?> <?php if($key->status=='repossessed'): ?> <?php echo e(translate('repossessed')); ?> <?php endif; ?> <?php if($key->status=='sold'): ?> <?php echo e(translate('sold')); ?> <?php endif; ?> <?php if($key->status=='lost'): ?> <?php echo e(translate('lost')); ?> <?php endif; ?> </td> <td><?php echo e($key->date); ?></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('collateral.view')): ?> <li><a href="<?php echo e(url('collateral/'.$key->id.'/show')); ?>"><i class="fa fa-search"></i> <?php echo e(translate('view')); ?> </a></li> <?php endif; ?> <?php if(Sentinel::hasAccess('collateral.update')): ?> <li><a href="<?php echo e(url('collateral/'.$key->id.'/edit')); ?>"><i class="fa fa-edit"></i> <?php echo e(translate('edit')); ?> </a> </li> <?php endif; ?> <?php if(Sentinel::hasAccess('collateral.delete')): ?> <li><a href="<?php echo e(url('collateral/'.$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="8" class="dataTables_empty"><?php echo e(translate('zeroRecords')); ?></td> </tr> <?php endif; ?> </tbody> </table> </div> <?php echo e($data->withQueryString()->links()); ?> </div> <!-- /.panel-body --> </div> <!-- /.box --> <?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/collateral/data.blade.php ENDPATH**/ ?>