Path : /var/www/html/usd_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/usd_loan_system/storage/framework/views/bb82a19a8e5dc5408dad569497331debc53c7b94.php |
<?php $__env->startSection('title'); ?> <?php echo e(translate('other_income')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="panel panel-white"> <div class="panel-heading"> <h6 class="panel-title"><?php echo e(translate('other_income')); ?> </h6> <div class="heading-elements"> <?php if(Sentinel::hasAccess('other_income.create')): ?> <a href="<?php echo e(url('other_income/create')); ?>" class="btn btn-info btn-sm"><?php echo e(translate('add other_income')); ?> </a> <?php endif; ?> </div> </div> <div class="panel-body"> <div class="table-responsive"> <table id="data-table" class="table table-striped table-condensed table-hover"> <thead> <tr> <th>#</th> <th><?php echo e(translate('income type')); ?></th> <th><?php echo e(translate('amount')); ?></th> <th><?php echo e(translate('date')); ?></th> <th><?php echo e(translate('description')); ?></th> <th><?php echo e(translate('file')); ?></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->other_income_type)): ?> <?php echo e($key->other_income_type->name); ?> <?php endif; ?> </td> <td class="credit"><?php echo e(currency_converter($key->amount)); ?></td> <td><?php echo e($key->date); ?></td> <td><?php echo e($key->notes); ?></td> <td> <ul class=""> <?php if($key->files): ?> <?php $__currentLoopData = unserialize($key->files); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=>$value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><a href="<?php echo asset('uploads/'.$value); ?>" target="_blank"><?php echo $value; ?></a></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </ul> </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('other_income.update')): ?> <li><a href="<?php echo e(url('other_income/'.$key->id.'/edit')); ?>"><i class="fa fa-edit"></i> <?php echo e(translate('edit')); ?> </a> </li> <?php endif; ?> <?php if(Sentinel::hasAccess('other_income.delete')): ?> <li><a href="<?php echo e(url('other_income/'.$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="6" class="dataTables_empty"><?php echo e(translate('zeroRecords')); ?></td> </tr> <?php endif; ?> </tbody> </table> <?php echo e($data->withQueryString()->links()); ?> </div> </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/usd_loan_system/resources/views/other_income/data.blade.php ENDPATH**/ ?>