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/e3e51fca6ac2b76dc3ee87e1f8c2d4be0b2ef91a.php |
<?php $__env->startSection('title',"{$borrower->title}-{$borrower->first_name}-{$borrower->last_name}-client-statement"); ?> <?php $__env->startPush('styles'); ?> <style> .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .text-justify { text-align: justify; } .pull-right { float: right !important; } .row { clear: both; margin-right: -15px; margin-left: -15px; } .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; } .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { float: left; } .col-md-12 { width: 100%; } .col-md-11 { width: 91.66666667%; } .col-md-10 { width: 83.33333333%; } .col-md-9 { width: 75%; } .col-md-8 { width: 66.66666667%; } .col-md-7 { width: 58.33333333%; } .col-md-6 { width: 47%; } .col-md-5 { width: 41.66666667%; } .col-md-4 { width: 33.33333333%; } .col-md-3 { width: 25%; } .col-md-2 { width: 16.66666667%; } .col-md-1 { width: 8.33333333%; } .col-md-pull-12 { right: 100%; } .col-md-pull-11 { right: 91.66666667%; } .col-md-pull-10 { right: 83.33333333%; } .col-md-pull-9 { right: 75%; } .col-md-pull-8 { right: 66.66666667%; } .col-md-pull-7 { right: 58.33333333%; } .col-md-pull-6 { right: 50%; } .col-md-pull-5 { right: 41.66666667%; } .col-md-pull-4 { right: 33.33333333%; } .col-md-pull-3 { right: 25%; } .col-md-pull-2 { right: 16.66666667%; } .col-md-pull-1 { right: 8.33333333%; } .col-md-pull-0 { right: auto; } .col-md-push-12 { left: 100%; } .col-md-push-11 { left: 91.66666667%; } .col-md-push-10 { left: 83.33333333%; } .col-md-push-9 { left: 75%; } .col-md-push-8 { left: 66.66666667%; } .col-md-push-7 { left: 58.33333333%; } .col-md-push-6 { left: 50%; } .col-md-push-5 { left: 41.66666667%; } .col-md-push-4 { left: 33.33333333%; } .col-md-push-3 { left: 25%; } .col-md-push-2 { left: 16.66666667%; } .col-md-push-1 { left: 8.33333333%; } .col-md-push-0 { left: auto; } .col-md-offset-12 { margin-left: 100%; } .col-md-offset-11 { margin-left: 91.66666667%; } .col-md-offset-10 { margin-left: 83.33333333%; } .col-md-offset-9 { margin-left: 75%; } .col-md-offset-8 { margin-left: 66.66666667%; } .col-md-offset-7 { margin-left: 58.33333333%; } .col-md-offset-6 { margin-left: 50%; } .col-md-offset-5 { margin-left: 41.66666667%; } .col-md-offset-4 { margin-left: 33.33333333%; } .col-md-offset-3 { margin-left: 25%; } .col-md-offset-2 { margin-left: 16.66666667%; } .col-md-offset-1 { margin-left: 8.33333333%; } .col-md-offset-0 { margin-left: 0; } .table { width: 100%; max-width: 100%; margin-bottom: 20px; } .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { padding: 8px; line-height: 1.42857143; vertical-align: top; } .table > thead > tr > th { vertical-align: bottom; } .lead .table > tfoot > tr > td { border-top: none; } .lead .table > thead > tr > th { border-bottom: none; } .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td { border-top: 0; } .table > tbody + tbody { } .table .table { background-color: #fff; } .table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td { padding: 5px; } .table-bordered { border: 1px solid #ddd; border-collapse: collapse; } .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td { border: 1px solid #ddd; } .table-bordered > thead > tr > th, .table-bordered > thead > tr > td { border-bottom-width: 2px; } .table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9; } .table > thead > tr > td.active, .table > tbody > tr > td.active, .table > tfoot > tr > td.active, .table > thead > tr > th.active, .table > tbody > tr > th.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > tbody > tr.active > td, .table > tfoot > tr.active > td, .table > thead > tr.active > th, .table > tbody > tr.active > th, .table > tfoot > tr.active > th { background-color: #f5f5f5; } .table-hover > tbody > tr > td.active:hover, .table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr.active:hover > th { background-color: #e8e8e8; } .table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th { background-color: #dff0d8; } .table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr.success:hover > th { background-color: #d0e9c6; } .table > thead > tr > td.info, .table > tbody > tr > td.info, .table > tfoot > tr > td.info, .table > thead > tr > th.info, .table > tbody > tr > th.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > tbody > tr.info > td, .table > tfoot > tr.info > td, .table > thead > tr.info > th, .table > tbody > tr.info > th, .table > tfoot > tr.info > th { background-color: #d9edf7; } .table-hover > tbody > tr > td.info:hover, .table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr.info:hover > th { background-color: #c4e3f3; } .table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th { background-color: #fcf8e3; } .table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr.warning:hover > th { background-color: #faf2cc; } .table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th { background-color: #f2dede; } .table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr.danger:hover > th { background-color: #ebcccc; } </style> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <h3 class="text-center"><b><?php echo e(\App\Models\Setting::where('setting_key','company_name')->first()->setting_value); ?></b> </h3> <hr> <?php $__currentLoopData = $loans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $loan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <h3 class="text-center"><b><?php echo e(translate('client statement')); ?></b></h3> <div class="row"> <div class="col-md-6"> <table class="table"> <tr> <td><span><?php echo e(translate('borrower')); ?> #</span></td> <td><?php echo e($loan->borrower->title); ?> <?php echo e($loan->borrower->first_name); ?> <?php echo e($loan->borrower->last_name); ?></td> </tr> <tr> <td><span><?php echo e(translate('loan')); ?> #</span></td> <td><?php echo e($loan->id); ?></td> </tr> <tr> <td><span><?php echo e(translate('released')); ?></span></td> <td><?php echo e($loan->release_date); ?></td> </tr> <tr> <td><span><?php echo e(translate('maturity_date')); ?></span></td> <td><?php echo e($loan->maturity_date); ?></td> </tr> <tr> <td><span><?php echo e(translate('repayment')); ?></span></td> <td> <?php if($loan->repayment_cycle=='daily'): ?> <?php echo e(translate('daily')); ?> <?php endif; ?> <?php if($loan->repayment_cycle=='weekly'): ?> <?php echo e(translate('weekly')); ?> <?php endif; ?> <?php if($loan->repayment_cycle=='monthly'): ?> <?php echo e(translate('monthly')); ?> <?php endif; ?> <?php if($loan->repayment_cycle=='bi_monthly'): ?> <?php echo e(translate('bi_monthly')); ?> <?php endif; ?> <?php if($loan->repayment_cycle=='quarterly'): ?> <?php echo e(translate('quarterly')); ?> <?php endif; ?> <?php if($loan->repayment_cycle=='semi_annual'): ?> <?php echo e(translate('semi_annually')); ?> <?php endif; ?> <?php if($loan->repayment_cycle=='annually'): ?> <?php echo e(translate('annual')); ?> <?php endif; ?> </td> </tr> <tr> <td><span><?php echo e(translate('principal')); ?></span></td> <td><?php echo e(currency_converter($loan->principal)); ?></td> </tr> <tr> <td><span><?php echo e(translate('interest')); ?>%</span></td> <td><?php echo e(currency_converter($loan->interest_rate)); ?> %/<?php echo e($loan->interest_period); ?></td> </tr> </table> </div> <div class="col-md-6"> <table class="table"> <tr> <td><span><?php echo e(translate('interest')); ?> </span></td> <td><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_interest($loan->id))); ?></td> </tr> <tr> <td><span><?php echo e(translate('loan fee')); ?></span></td> <td><?php echo e(currency_converter($loan->charges->sum('amount')??0)); ?></td> </tr> <tr> <td><span><?php echo e(translate('charge')); ?></span></td> <td><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_fees($loan->id))); ?></td> </tr> <tr> <td><span><?php echo e(translate('penalty')); ?></span></td> <td><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_penalty($loan->id))); ?></td> </tr> <tr> <td><span><?php echo e(translate('due')); ?></span></td> <td><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_due_amount($loan->id))); ?></td> </tr> <tr> <td><span><?php echo e(translate('paid')); ?></span></td> <td><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_paid($loan->id))); ?></td> </tr> <tr> <td><span><?php echo e(translate('balance')); ?></span></td> <td><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_balance($loan->id))); ?></td> </tr> </table> </div> </div> <div class="row"> <div class="col-md-12"> <h3 class="text-center"><b><?php echo e(translate('repayment')); ?></b></h3> <table class="table table-bordered"> <tbody> <tr > <th> <?php echo e(translate('collection date')); ?> </th> <th> <?php echo e(translate('collected_by')); ?> </th> <th> <?php echo e(translate('method')); ?> </th> <th> <?php echo e(translate('amount')); ?> </th> </tr> <tbody> <?php $__currentLoopData = \App\Models\LoanTransaction::where('loan_id',$loan->id)->where('transaction_type','repayment')->where('reversed',0)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <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(!empty($key->loan_repayment_method)): ?> <?php echo e($key->loan_repayment_method->name); ?> <?php endif; ?> </td> <td><?php echo e(currency_converter($key->credit)); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.report', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/thb_loan_system/resources/views/loan/pdf_borrower_statement.blade.php ENDPATH**/ ?>