[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: f923c9b922b037d0d012607fd2d1d350.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-lg-10 offset-lg-1"> <div class="card"> <div class="card-header d-sm-flex align-items-center justify-content-between"> <span class="panel-title"><?php echo e(_lang('Transactions Report')); ?></span> <button class="btn btn-outline-primary btn-xs print" data-print="report" type="button" id="report-print-btn"><i class="fas fa-print mr-1"></i><?php echo e(_lang('Print Report')); ?></button> </div> <div class="card-body"> <div class="report-params"> <form class="validate" method="post" action="<?php echo e(route('reports.transactions_report')); ?>"> <div class="row"> <?php echo e(csrf_field()); ?> <div class="col-lg-2 col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Start Date')); ?></label> <input type="text" class="form-control datepicker" name="date1" id="date1" value="<?php echo e(isset($date1) ? $date1 : old('date1', \Carbon\Carbon::now()->startOfMonth())); ?>" readOnly="true" required> </div> </div> <div class="col-lg-2 col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('End Date')); ?></label> <input type="text" class="form-control datepicker" name="date2" id="date2" value="<?php echo e(isset($date2) ? $date2 : old('date2', \Carbon\Carbon::now())); ?>" readOnly="true" required> </div> </div> <div class="col-lg-2 col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Type')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(isset($transaction_type) ? $transaction_type : old('transaction_type')); ?>" name="transaction_type"> <option value=""><?php echo e(_lang('All')); ?></option> <option value="income"><?php echo e(_lang('Income')); ?></option> <option value="expense"><?php echo e(_lang('Expense')); ?></option> </select> </div> </div> <div class="col-lg-4 col-md-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Account')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(isset($account_id) ? $account_id : old('account_id')); ?>" name="account_id"> <option value=""><?php echo e(_lang('All Account')); ?></option> <?php $__currentLoopData = \App\Models\Account::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $acc): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($acc->id); ?>"><?php echo e($acc->account_name); ?> (<?php echo e($acc->currency); ?>)</option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-lg-2 col-md-12"> <button type="submit" class="btn btn-light btn-xs btn-block mt-26"><i class="ti-filter"></i> <?php echo e(_lang('Filter')); ?></button> </div> </form> </div> </div><!--End Report param--> <?php $date_format = get_date_format(); ?> <div id="report"> <div class="report-header"> <h4><?php echo e(request()->activeBusiness->name); ?></h4> <p><?php echo e(_lang('Transactions Report')); ?></p> <p><?php echo e(isset($date1) ? date($date_format, strtotime($date1)).' '._lang('to').' '.date($date_format, strtotime($date2)) : '---------- '._lang('to').' ----------'); ?></p> </div> <div class="table-responsive"> <table class="table"> <thead> <th><?php echo e(_lang('Date')); ?></th> <th><?php echo e(_lang('Account')); ?></th> <th><?php echo e(_lang('Category')); ?></th> <th><?php echo e(_lang('Type')); ?></th> <th class="text-right"><?php echo e(_lang('Amount')); ?></th> </thead> <tbody> <?php if(isset($report_data)): ?> <?php $__currentLoopData = $report_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $symbol = $transaction->dr_cr == 'dr' ? '-' : '+'; $class = $transaction->dr_cr == 'dr' ? 'text-danger' : 'text-success'; ?> <tr> <td><?php echo e($transaction->trans_date); ?></td> <td><?php echo e($transaction->account->account_name); ?> (<?php echo e($transaction->account->currency); ?>)</td> <td><?php echo e($transaction->category->name); ?></td> <td><?php echo e(ucwords($transaction->type)); ?></td> <td class="text-right"><span class="<?php echo e($class); ?>"><?php echo e($symbol.' '.formatAmount($transaction->amount, currency_symbol($transaction->account->currency))); ?></span></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/public_html/resources/views/backend/user/reports/transactions_report.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.97 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002