⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.94
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
0a7f22e3da3a5cdf6874a04accf10417.php
<?php $__env->startSection('page-title'); ?> <?php echo e(__('Cash Flow')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page-breadcrumb'); ?> <?php echo e(__('Report')); ?>, <?php echo e(__('Cash Flow')); ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('css'); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('scripts'); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('page-action'); ?> <div> <a class="btn btn-sm btn-primary" onclick="saveAsPDF()" data-bs-toggle="tooltip" data-bs-original-title="<?php echo e(__('Download')); ?>"> <i class="ti ti-download"></i> </a> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-body"> <?php echo e(Form::open(['route' => array('report.cash.flow'), 'method' => 'GET', 'id' => 'monthly_cashflow'])); ?> <div class="col-xl-12"> <div class="row justify-content-between"> <div class="col-xl-3"> <ul class="nav nav-pills my-3" id="pills-tab" role="tablist"> <li class="nav-item me-2"> <a class="nav-link active " id="pills-home-tab" data-bs-toggle="pill" href="#daily-chart" role="tab" aria-controls="pills-home" aria-selected="true"><?php echo e(__('Monthly')); ?></a> </li> <li class="nav-item"> <a class="nav-link" id="pills-profile-tab" data-bs-toggle="pill" href="<?php echo e(route('report.quarterly.cashflow')); ?>" onclick="window.location.href = '<?php echo e(route('report.quarterly.cashflow')); ?>'" role="tab" aria-controls="pills-profile" aria-selected="false"><?php echo e(__('Quarterly')); ?></a> </li> </ul> </div> <div class="col-xl-9"> <div class="row justify-content-end align-items-center"> <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12"> <div class="btn-box"> <?php echo e(Form::label('year', __('Year'),['class'=>'form-label'])); ?> <?php echo e(Form::select('year',$yearList,isset($_GET['year'])?$_GET['year']:'', array('class' => 'form-control select'))); ?> </div> </div> <div class="col-auto mt-4"> <a href="#" class="btn btn-sm btn-primary me-1" onclick="document.getElementById('monthly_cashflow').submit(); return false;" data-bs-toggle="tooltip" title="<?php echo e(__('Apply')); ?>" data-original-title="<?php echo e(__('apply')); ?>"> <span class="btn-inner--icon"><i class="ti ti-search"></i></span> </a> <a href="<?php echo e(route('report.cash.flow')); ?>" class="btn btn-sm btn-danger " data-bs-toggle="tooltip" title="<?php echo e(__('Reset')); ?>" data-original-title="<?php echo e(__('Reset')); ?>"> <span class="btn-inner--icon"><i class="ti ti-trash-off text-white-off "></i></span> </a> </div> </div> </div> </div> </div> </div> <?php echo e(Form::close()); ?> </div> </div> </div> <div id="printableArea"> <div class="row mt-1"> <div class="col"> <input type="hidden" value="<?php echo e(__('Monthly Cashflow').' '.'Report of'.' '.$filter['startDateRange'].' to '.$filter['endDateRange']); ?>" id="filenames"> <div class="card p-4 mb-4"> <label class="report-text gray-text mb-0"><?php echo e(__('Report')); ?> :</label> <h6 class="report-text mb-0 mt-1"><?php echo e(__('Monthly Cashflow')); ?></h6> </div> </div> <div class="col"> <div class="card p-4 mb-4"> <label class="report-text gray-text mb-0"><?php echo e(__('Duration')); ?> :</label> <h6 class="report-text mb-0 mt-1" ><?php echo e($filter['startDateRange'].' to '.$filter['endDateRange']); ?></h6> </div> </div> </div> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body table-border-style"> <div class="row"> <div class="col-sm-12"> <h5 class="pb-3"><?php echo e(__('Income')); ?></h5> <div class="table-responsive mt-3 mb-3"> <table class="table"> <thead> <tr> <th width="20%"><?php echo e(__('Category')); ?></th> <?php $__currentLoopData = $monthList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $month): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <th><?php echo e($month); ?></th> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> </thead> <tbody> <tr> <td width="25%" class="font-bold"><span><?php echo e(__('Revenue : ')); ?></span></td> <?php $__currentLoopData = $RevenueTotal; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $revenue): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td width="15%"><?php echo e(currency_format_with_sym($revenue)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <tr> <td width="25%" class="font-bold"><?php echo e(__('Invoice : ')); ?></td> <?php $__currentLoopData = $invoiceTotal; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $invoice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td width="15%"><?php echo e(currency_format_with_sym($invoice)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <tr> <td colspan="13" class="font-bold"><span><?php echo e(__('Total Income = Revenue + Invoice ')); ?></span></td> </tr> <tr> <td width="20%" class="text-dark"><?php echo e(__('Total Income')); ?></td> <?php $__currentLoopData = $chartIncomeArr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$income): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e(currency_format_with_sym($income)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> </tbody> </table> </div> <div class="col-sm-12"> <h5><?php echo e(__('Expense')); ?></h5> <div class="table-responsive mt-3"> <table class="table mb-0"> <thead> <tr> <th width="20%"><?php echo e(__('Category')); ?></th> <?php $__currentLoopData = $monthList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $month): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <th><?php echo e($month); ?></th> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> </thead> <tbody> <tr> <td width="20%" class="font-bold"><?php echo e(__('Payment')); ?></td> <?php $__currentLoopData = $paymentTotal; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e(currency_format_with_sym($payment)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <tr> <td width="20%" class="font-bold"><?php echo e(__('PaySlip')); ?></td> <?php $__currentLoopData = $paySlipTotal; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$paySlip): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e(currency_format_with_sym($paySlip)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <tr> <td width="20%" class="font-bold"><?php echo e(__('Bill')); ?></td> <?php $__currentLoopData = $billTotal; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$bill): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e(currency_format_with_sym($bill)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <tr> <td colspan="13" class="font-bold"><span><?php echo e(__('Total Expense = Payment + PaySlip + Bill ')); ?></span></td> </tr> <tr> <td width="20%" class="text-dark"><?php echo e(__('Total Expenses')); ?></td> <?php $__currentLoopData = $chartExpenseArr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$expense): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e(currency_format_with_sym($expense)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> </tbody> </table> </div> </div> <div class="col-sm-12"> <div class="table-responsive mt-1"> <table class="table mb-0"> <thead> <tr> <th colspan="13" class="font-bold"><span><?php echo e(__('Net Profit = Total Income - Total Expense')); ?></span></th> </tr> </thead> <tbody> <tr> <td width="20%" class="text-dark"><?php echo e(__('Net Profit')); ?></td> <?php $__currentLoopData = $netProfitArray; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $i=>$profit): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e(currency_format_with_sym($profit)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts'); ?> <script src="<?php echo e(asset('packages/workdo/Account/src/Resources/assets/js/html2pdf.bundle.min.js')); ?>"></script> <script> var filename = $('#filenames').val(); function saveAsPDF() { var element = document.getElementById('printableArea'); var opt = { margin: 0.3, filename: filename, image: {type: 'jpeg', quality: 1}, html2canvas: {scale: 4, dpi: 72, letterRendering: true}, jsPDF: {unit: 'in', format: 'A2'} }; html2pdf().set(opt).from(element).save(); } </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/Account/src/Providers/../Resources/views/report/cash_flow.blade.php ENDPATH**/ ?>