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/046cc5a241ee5617d42a5bd2ce2996905ec684c3.php |
<?php $__env->startSection('title'); ?> <?php echo e(translate('repayment')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="panel panel-white"> <div class="panel-body"> <div class="table-responsive"> <div class="panel-body hidden-print"> <?php echo Form::open(array('url' => Request::url(), 'method' => 'GET','class'=>'form-horizontal', 'name' => 'form')); ?> <div class="row"> <div class="col-xs-5 col-sm-6"> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.forms.date-range-picker','data' => ['name' => 'date_range','startDate' => $start_date??null,'endDate' => $end_date??null]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.date-range-picker'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['name' => 'date_range','start-date' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($start_date??null),'end-date' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($end_date??null)]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?> <?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?> <?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?> <?php endif; ?> </div> <div class="row"> <div class="col-xs-12 col-sm-6"> <button type="submit" class="btn btn-success"><?php echo e(translate('search')); ?>! </button> <a href="<?php echo e(Request::url()); ?>" class="btn btn-danger"><?php echo e(translate('reset')); ?>!</a> </div> </div> </div> <?php echo Form::close(); ?> </div> <table id="repayments-data-table" class="table table-condensed table-hover"> <thead> <tr> <th> # </th> <th> <?php echo e(translate('loan')); ?> </th> <th> <?php echo e(translate('name')); ?> </th> <th> <?php echo e(translate('collection date')); ?> </th> <th> <?php echo e(translate('collected_by')); ?> </th> <th> <?php echo e(translate('transaction type')); ?> </th> <th> <?php echo e(translate('method')); ?> </th> <th> <?php echo e(translate('receipt')); ?> </th> <th> <?php echo e(translate('amount')); ?> </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><a href="<?php echo e(url('loan/'.$key->loan_id.'/show')); ?>"> <?php echo e($key->loan_id); ?></a></td> <td> <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> </td> <td><?php echo e($key->date); ?></td> <td> <?php if(!empty($key->user)): ?> <?php echo e($key->user->first_name); ?> <?php echo e($key->user->last_name); ?> <?php endif; ?> </td> <td> <?php if($key->transaction_type=='disbursement'): ?> <?php echo e(translate('disbursement')); ?> <?php endif; ?> <?php if($key->transaction_type=='specified_due_date'): ?> <?php echo e(translate('specified_due_date')); ?> <?php echo e(translate('fee')); ?> <?php endif; ?> <?php if($key->transaction_type=='installment_fee'): ?> <?php echo e(translate('installment_fee')); ?> <?php endif; ?> <?php if($key->transaction_type=='overdue_installment_fee'): ?> <?php echo e(translate('overdue_installment_fee')); ?> <?php endif; ?> <?php if($key->transaction_type=='loan_rescheduling_fee'): ?> <?php echo e(translate('loan_rescheduling_fee')); ?> <?php endif; ?> <?php if($key->transaction_type=='overdue_maturity'): ?> <?php echo e(translate('overdue_maturity')); ?> <?php endif; ?> <?php if($key->transaction_type=='disbursement_fee'): ?> <?php echo e(translate('disbursement charge')); ?> <?php endif; ?> <?php if($key->transaction_type=='interest'): ?> <?php echo e(translate('interest applied')); ?> <?php endif; ?> <?php if($key->transaction_type=='repayment'): ?> <?php echo e(translate('repayment')); ?> <?php endif; ?> <?php if($key->transaction_type=='overpay'): ?> <?php echo e(translate('overpay')); ?> <?php endif; ?> <?php if($key->transaction_type=='penalty'): ?> <?php echo e(translate('penalty')); ?> <?php endif; ?> <?php if($key->transaction_type=='interest_waiver'): ?> <?php echo e(translate('interest waiver')); ?> <?php endif; ?> <?php if($key->transaction_type=='charge_waiver'): ?> <?php echo e(translate('charge waiver')); ?> <?php endif; ?> <?php if($key->transaction_type=='write_off'): ?> <?php echo e(translate('write_off')); ?> <?php endif; ?> <?php if($key->transaction_type=='write_off_recovery'): ?> <?php echo e(translate('recovery repayment')); ?> <?php endif; ?> <?php if($key->transaction_type=='pay_off'): ?> <?php echo e(translate('pay_off')); ?> <?php endif; ?> </td> <td> <?php if(!empty($key->loan_repayment_method)): ?> <?php echo e($key->loan_repayment_method->name); ?> <?php endif; ?> </td> <td><?php echo e($key->receipt); ?></td> <td class="credit"> <?php echo e(currency_converter($key->credit)); ?> </td> <td class="text-center"> <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"> <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/show')); ?>"><i class="fa fa-search"></i> <?php echo e(translate('view')); ?> </a></li> <li> <?php if($key->transaction_type=='repayment' && $key->reversible==1): ?> <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/print_repayment_receipt')); ?>" target="_blank"><i class="icon-printer"></i> <?php echo e(translate('print')); ?> <?php echo e(translate('receipt')); ?> </a></li> <!-- <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/print')); ?>" target="_blank"><i class="icon-printer"></i> <?php echo e(translate('print')); ?> <?php echo e(translate('receipt')); ?> </a></li> --> <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/pdf')); ?>" target="_blank"><i class="icon-file-pdf"></i> <?php echo e(translate('pdf')); ?> <?php echo e(translate('receipt')); ?> </a></li> <li> <a href="<?php echo e(url('loan/repayment/'.$key->id.'/edit')); ?>"><i class="fa fa-edit"></i> <?php echo e(translate('edit')); ?> </a></li> <li> <a href="<?php echo e(url('loan/repayment/'.$key->id.'/reverse')); ?>" class="delete"><i class="fa fa-minus-circle"></i> <?php echo e(translate('reverse')); ?> </a></li> <?php elseif($key->transaction_type=='pay_off' && $key->reversible==1): ?> <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/print_pay_off_receipt')); ?>" target="_blank"><i class="icon-printer"></i> <?php echo e(translate('print')); ?> <?php echo e(translate('receipt')); ?> </a></li> <!-- <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/print')); ?>" target="_blank"><i class="icon-printer"></i> <?php echo e(translate('print')); ?> <?php echo e(translate('receipt')); ?> </a></li> --> <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/pdf')); ?>" target="_blank"><i class="icon-file-pdf"></i> <?php echo e(translate('pdf')); ?> <?php echo e(translate('receipt')); ?> </a></li> <!-- <li> <a href="<?php echo e(url('loan/repayment/'.$key->id.'/edit')); ?>"><i class="fa fa-edit"></i> <?php echo e(translate('edit')); ?> </a> </li> --> <li> <a href="<?php echo e(url('loan/pay-off/'.$key->id.'/reverse')); ?>" class="delete"><i class="fa fa-minus-circle"></i> <?php echo e(translate('reverse')); ?> </a></li> <?php elseif($key->transaction_type=='overpay' && $key->reversible==1): ?> <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/print_pay_off_receipt')); ?>" target="_blank"><i class="icon-printer"></i> <?php echo e(translate('print')); ?> <?php echo e(translate('receipt')); ?> </a></li> <!-- <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/print')); ?>" target="_blank"><i class="icon-printer"></i> <?php echo e(translate('print')); ?> <?php echo e(translate('receipt')); ?> </a></li> --> <li> <a href="<?php echo e(url('loan/transaction/'.$key->id.'/pdf')); ?>" target="_blank"><i class="icon-file-pdf"></i> <?php echo e(translate('pdf')); ?> <?php echo e(translate('receipt')); ?> </a></li> <!-- <li> <a href="<?php echo e(url('loan/repayment/'.$key->id.'/edit')); ?>"><i class="fa fa-edit"></i> <?php echo e(translate('edit')); ?> </a> </li> --> <li> <a href="<?php echo e(url('loan/pay-off/'.$key->id.'/reverse')); ?>" class="delete"><i class="fa fa-minus-circle"></i> <?php echo e(translate('reverse')); ?> </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> <?php echo e($data->withQueryString()->links()); ?> </div> </div> <!-- /.panel-body --> </div> <!-- /.box --> <?php $__env->stopSection(); ?> <?php $__env->startSection('footer-scripts'); ?> <script> $(document).ready(function () { $('.deletePayment').on('click', function (e) { e.preventDefault(); var href = $(this).attr('href'); swal({ title: '<?php echo e(translate('are_you_sure')); ?>', text: '<?php echo e(translate('delete_payment_msg')); ?>', type: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', confirmButtonText: '<?php echo e(translate('ok')); ?>', cancelButtonText: '<?php echo e(translate('cancel')); ?>' }).then(function () { window.location = href; }) }); }); </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/loan_repayment/data.blade.php ENDPATH**/ ?>