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/d8a5ba18d80df87e12f1f1cb54c0bdc4d0f3e9ac.php |
<link rel="stylesheet" href="<?php echo e(asset('kh-fonts/kh-fonts.css')); ?>"> <style> thead { display: table-header-group; } .table { border-collapse: collapse !important; } .table td, .table th { background-color: #fff !important; } .table-bordered th, .table-bordered td { } th { text-align: left; } .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; } .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; } .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-hover > tbody > tr:hover { background-color: #f5f5f5; } table col[class*="col-"] { position: static; display: table-column; float: none; } table td[class*="col-"], table th[class*="col-"] { position: static; display: table-cell; float: none; } .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; } .table-responsive { min-height: .01%; overflow-x: auto; } .row { margin-right: -15px; margin-left: -15px; clear: both; } .col-md-6 { width: 50%; position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; } .well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); } tbody:before, tbody:after { display: none; } .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; } </style> <div> <h3 class="text-center"> <?php if(!empty(\App\Models\Setting::where('setting_key','company_logo')->first()->setting_value)): ?> <img src="<?php echo e(asset('uploads/'.\App\Models\Setting::where('setting_key','company_logo')->first()->setting_value)); ?>" class="img-responsive" width="150"/> <?php endif; ?> </h3> <h3 class="text-center"><b><?php echo e(\App\Models\Setting::where('setting_key','company_name')->first()->setting_value); ?></b> </h3> <?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 style="width: 980px;height: 224px;margin-left: auto;margin-right: auto;border-top: solid thin rgba(2, 180, 209, 0.44);border-bottom: solid thin rgba(2, 180, 209, 0.44);padding: 20px;text-transform: capitalize"> <div style="width: 300px;margin-right: 20px;float: left"> <b><?php echo e(translate('date')); ?>:</b><?php echo e(date("Y-m-d")); ?><br><br> <b><?php echo e($loan->borrower->title); ?>. <?php echo e($loan->borrower->first_name); ?> <?php echo e($loan->borrower->last_name); ?></b> </div> <div style="width: 300px;margin-right: 40px;float: left"> <b><?php echo e(translate('loan')); ?> #</b><span class="pull-right"><?php echo e($loan->id); ?></span><br><br> <b><?php echo e(translate('released')); ?></b><span class="pull-right"><?php echo e($loan->release_date); ?></span><br><br> <b><?php echo e(translate('maturity_date')); ?></b><span class="pull-right"><?php echo e($loan->maturity_date); ?></span><br><br> <b><?php echo e(translate('repayment')); ?></b><span class="pull-right" style=""><?php echo e($loan->repayment_cycle); ?></span><br><br> <b><?php echo e(translate('principal')); ?></b><span class="pull-right" style=""><?php echo e(currency_converter($loan->principal)); ?></span><br><br> <b><?php echo e(translate('interest')); ?>%</b><span class="pull-right" style=""><?php echo e(currency_converter($loan->interest_rate)); ?> %/<?php echo e($loan->interest_period); ?></span><br><br> </div> <div style="width: 300px;float: left"> <b><?php echo e(translate('interest')); ?> </b><span class="pull-right"><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_interest($loan->id))); ?></span><br><br> <b><?php echo e(translate('loan fee')); ?></b><span class="pull-right"><?php echo e(currency_converter($loan->charges->sum('amount')??0)); ?></span><br><br> <b><?php echo e(translate('charge')); ?></b><span class="pull-right"><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_fees($loan->id))); ?></span><br><br> <b><?php echo e(translate('penalty')); ?></b><span class="pull-right"><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_penalty($loan->id))); ?></span><br><br> <b><?php echo e(translate('due')); ?></b><span class="pull-right" style=""><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_due_amount($loan->id))); ?></span><br><br> <b><?php echo e(translate('paid')); ?></b><span class="pull-right" style=""><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_paid($loan->id))); ?></span><br><br> <b><?php echo e(translate('balance')); ?></b><span class="pull-right" style=""><?php echo e(currency_converter(\App\Helpers\GeneralHelper::loan_total_balance($loan->id))); ?></span><br><br> </div> </div> <div style="width: 980px;margin-top:30px;margin-left: auto;margin-right: auto;padding: 20px;text-transform: capitalize"> <h3 class="text-center"><b><?php echo e(translate('repayment')); ?></b></h3> <table class="table table-condensed table-bordered table-striped"> <tbody> <tr style="background-color: #F2F8FF"> <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> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <script> window.onload = function () { window.print(); } </script> <?php /**PATH /var/www/html/usd_loan_system/resources/views/loan/print_borrower_statement.blade.php ENDPATH**/ ?>