One Hat Cyber Team
Your IP :
18.119.100.196
Server IP :
104.21.64.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
app.gftag.com
/
storage
/
framework
/
views
/
View File Name :
f66504ad6d9ecff29f298524a74217cb.php
<?php $__env->startSection('styles'); ?> <style> .edit,.delete{ border:none !important; margin:1em; } .edit{ color:#136BAF; } .delete{ color:red; } </style> <link rel="stylesheet" href="<?php echo e(asset('css/lib/datatables-net/datatables.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('css/separate/vendor/datatables-net.min.css')); ?>"> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="page-content"> <div class="container-fluid"> <?php if(session()->has('message')): ?> <div class="alert alert-info alert-fill alert-close alert-dismissible fade in"> <strong><?php echo e(session()->get('message')); ?></strong> </div> <?php endif; ?> <div class="box-typical box-typical-padding"> <div class="filtering m-b"> <form action="<?php echo e(route('cashbook')); ?>" method="GET"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-3"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInputPassword1">Select Head</label> <select class="form-control" name="head" id="head"> <option value="All">All</option> <?php $__currentLoopData = $headers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($value->id); ?>"><?php echo e($value->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </fieldset> </div> <div class="col-lg-3"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">Start From</label> <div class='input-group date'> <input type="text" id="start_date" class="form-control" name="start_date"> <span class="input-group-addon"> <i class="font-icon font-icon-calend"></i> </span> </div> </fieldset> </div> <div class="col-lg-3"> <fieldset class="form-group"> <label class="form-label semibold" for="exampleInput">End From</label> <div class='input-group date'> <input type="text" id="end_date" class="form-control" name="end_date"> <span class="input-group-addon"> <i class="font-icon font-icon-calend"></i> </span> </div> </fieldset> </div> <div class="col-lg-3"> <div class="input-group-btn"> <p> </p> <button type="submit" value="1" name="filter" class="btn btn-sm btn-primary p-x-3 p-y mt-4">Fetch</button> </div> </div> </div> <!--Select Columns Modal--> </form> </div> </div> <section class="card"> <?php if(count($cashBookReport) > 0): ?> <button class="exportToExcel btn-sm btn-success m-y-1 m-r-2 float-right">Export</button> <?php endif; ?> <div class="card-block"> <table id="example" class="sales_report table2excel_with_colors display table table-striped table-bordered" cellspacing="0" width="100%"> <thead> <tr> <th>Transaction Type</th> <th>Heads</th> <th>Debit</th> <th>Credit</th> <th>Date</th> <th>Narration</th> <th>Action</th> </tr> </thead> <tbody> <?php $__currentLoopData = $cashBookReport; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($item->type == "income" ? "Income" : "Expense"); ?></td> <td><?php echo e($item->head->name); ?></td> <td><?php echo e($item->type == "expense" ? $item->amount : null); ?></td> <td><?php echo e($item->type == "income" ? $item->amount : null); ?></td> <td><?php echo e($item->transaction_date); ?></td> <td><?php echo e($item->comments); ?></td> <td> <a href="<?php echo e(route('edit-cashbook', [$item->id])); ?>" class="edit" title="Edit"> <i class="fa fa-pencil-square-o fa-lg" aria-hidden="true"></i> </a> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </section> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('js/lib/datatables-net/datatables.min.js')); ?>"></script> <script src="<?php echo e(asset('js/jquery.table2excel.js')); ?>"></script> <script src="https://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script> <script> $( function() { $( "#start_date" ).datepicker({ dateFormat: "yy-mm-dd" }); $( "#end_date" ).datepicker({ dateFormat: "yy-mm-dd" }); }); </script> <script> $(function() { $(".exportToExcel").click(function(e){ var table = $('.sales_report'); if(table && table.length){ var preserveColors = (table.hasClass('table2excel_with_colors') ? true : false); $(table).table2excel({ exclude: ".noExl", name: "Excel Document Name", filename: "CashBook" + new Date().toISOString().replace(/[\-\:\.]/g, "") + ".xls", fileext: ".xls", exclude_img: true, exclude_links: true, exclude_inputs: true, preserveColors: preserveColors }); } }); }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/forge/app.gftag.com/resources/views/cashbook/report.blade.php ENDPATH**/ ?>