⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
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 :
93b10fd8616126102cb12e8c7ba210df.php
<?php $__env->startSection('page-title'); ?> <?php echo e(__('Tax Summary')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('page-breadcrumb'); ?> <?php echo e(__('Report')); ?>, <?php echo e(__('Tax Summary')); ?> <?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 year = '<?php echo e($currentYear); ?>'; var filename = $('#filename').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 $__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"> <div class="col-sm-12"> <div class=" multi-collapse mt-2 " id="multiCollapseExample1"> <div class="card"> <div class="card-body"> <?php echo e(Form::open(array('route' => array('report.tax.summary'),'method' => 'GET','id'=>'report_tax_summary'))); ?> <div class="row align-items-center justify-content-end"> <div class="col-xl-10"> <div class="row"> <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12"> <div class="btn-box"> </div> </div> <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12"> <div class="btn-box"> </div> </div> <div class="col-xl-3 col-lg-3 col-md-6 col-sm-12 col-12"> <div class="btn-box"> </div> </div> <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 '))); ?> </div> </div> </div> </div> <div class="col-auto"> <div class="row"> <div class="col-auto mt-4"> <a class="btn btn-sm btn-primary me-1" onclick="document.getElementById('report_tax_summary').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.tax.summary')); ?>" 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> <?php echo e(Form::close()); ?> </div> </div> </div> </div> <div id="printableArea"> <div class="row mt-3"> <div class="col"> <input type="hidden" value="<?php echo e(__('Tax Summary').' '.'Report of'.' '.$filter['startDateRange'].' to '.$filter['endDateRange']); ?>" id="filename"> <div class="card p-4 mb-4"> <h5 class="report-text gray-text mb-0"><?php echo e(__('Report')); ?> :</h5> <h6 class="report-text mb-0 mt-1"><?php echo e(__('Tax Summary')); ?></h6> </div> </div> <div class="col"> <div class="card p-4 mb-4"> <h5 class="report-text gray-text mb-0"><?php echo e(__('Duration')); ?> :</h5> <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="col-sm-12"> <h5><?php echo e(__('Income')); ?></h5> <div class="table-responsive mt-3 mb-3"> <table class="table"> <thead> <tr> <th><?php echo e(__('Tax')); ?></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> <?php $__empty_1 = true; $__currentLoopData = array_keys($incomes); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=> $taxName): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td><?php echo e($taxName); ?></td> <?php $__currentLoopData = array_values($incomes)[$k]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $price): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e(currency_format_with_sym($price)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr> <td colspan="13" class="text-center"><?php echo e(__('Income tax not found')); ?></td> </tr> <?php endif; ?> </tbody> </table> </div> </div> <div class="col-sm-12"> <h5><?php echo e(__('Expense')); ?></h5> <div class="table-responsive mt-4"> <table class="table"> <thead> <tr> <th><?php echo e(__('Tax')); ?></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> <?php $__empty_1 = true; $__currentLoopData = array_keys($expenses); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k=> $taxName): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr> <td><?php echo e($taxName); ?></td> <?php $__currentLoopData = array_values($expenses)[$k]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $price): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td><?php echo e(currency_format_with_sym($price)); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr> <td colspan="13" class="text-center"><?php echo e(__('Expense tax not found')); ?></td> </tr> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?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/tax_summary.blade.php ENDPATH**/ ?>