[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 14466dcab8c6380a8a7470b68f798289.php
<?php $__env->startSection('title', "Trail Balance"); ?> <?php $__env->startSection('content'); ?> <?php if (isset($component)) { $__componentOriginala766c2d312d6f7864fe218e2500d2bba = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginala766c2d312d6f7864fe218e2500d2bba = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.container','data' => ['title' => 'Trail Balance']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('container'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['title' => 'Trail Balance']); ?> <div class="text-end"> <a href="javascript:" id="window-printer" onclick="return(window.print())" class="btn btn-sm btn-success mb-2"> <i class="fa fa-print"></i> <?php echo e(translate('common.Print')); ?> </a> </div> <div class="table-responsive pt-0"> <table class="table"> <?php if (isset($component)) { $__componentOriginal556ead748d96ceef08716ddf6d69e692 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal556ead748d96ceef08716ddf6d69e692 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.table.thead','data' => ['headers' => ['Account','Debit','Credit']]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('table.thead'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['headers' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(['Account','Debit','Credit'])]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal556ead748d96ceef08716ddf6d69e692)): ?> <?php $attributes = $__attributesOriginal556ead748d96ceef08716ddf6d69e692; ?> <?php unset($__attributesOriginal556ead748d96ceef08716ddf6d69e692); ?> <?php endif; ?> <?php if (isset($__componentOriginal556ead748d96ceef08716ddf6d69e692)): ?> <?php $component = $__componentOriginal556ead748d96ceef08716ddf6d69e692; ?> <?php unset($__componentOriginal556ead748d96ceef08716ddf6d69e692); ?> <?php endif; ?> <tbody> <?php $__currentLoopData = $collection; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $account): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($account->total_debits > 0 || $account->total_credits > 0): ?> <tr> <td><?php echo e($loop->iteration); ?></td> <td><?php echo e($account->name); ?></td> <td><?php echo e($account->total_debits != 0 ? priceFormat($account->total_debits) : '-'); ?></td> <td><?php echo e($account->total_credits != 0 ? priceFormat($account->total_credits) : '-'); ?></td> </tr> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> <tfoot> <tr> <td></td> <td class="text-start"><h4 class="mb-0 text-dark fw-bold"><?php echo e(translate('common.Total')); ?></h4></td> <td><h4 class="mb-0 text-dark fw-bold"><?php echo e(priceFormat($collection->sum('total_debits'))); ?></h4></td> <td><h4 class="mb-0 text-dark fw-bold"><?php echo e(priceFormat($collection->sum('total_credits'))); ?></h4></td> </tr> </tfoot> </table> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginala766c2d312d6f7864fe218e2500d2bba)): ?> <?php $attributes = $__attributesOriginala766c2d312d6f7864fe218e2500d2bba; ?> <?php unset($__attributesOriginala766c2d312d6f7864fe218e2500d2bba); ?> <?php endif; ?> <?php if (isset($__componentOriginala766c2d312d6f7864fe218e2500d2bba)): ?> <?php $component = $__componentOriginala766c2d312d6f7864fe218e2500d2bba; ?> <?php unset($__componentOriginala766c2d312d6f7864fe218e2500d2bba); ?> <?php endif; ?> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/pham.eliosof.com/resources/views/accounts/reports/trail-balance.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.77 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