Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ledger.corals.io/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/ledger.corals.io/storage/framework/views/dfea37b324a985d5b132baba66c6d2c90e75c7ec.php
<?php $__env->startSection('title', $title_singular); ?>
<?php $__env->startSection('content_header'); ?>
    <?php $__env->startComponent('components.content_header'); ?>
        <?php $__env->slot('page_title'); ?>
            <?php echo e($title); ?>

        <?php $__env->endSlot(); ?>
        <?php $__env->slot('breadcrumb'); ?>
            <?php echo e(Breadcrumbs::render('balance-report')); ?>

        <?php $__env->endSlot(); ?>
    <?php echo $__env->renderComponent(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('css'); ?>
    <style>
        .account-col {
            width: 300px;
        }

        td {
            width: 200px;
        }
    </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <?php echo \Illuminate\View\Factory::parentPlaceholder('content'); ?>
    <div class="row">
        <div class="col-md-6">
            <?php $__env->startComponent('components.box', ['box_title'=>$balanceReport->getTitle()]); ?>

                <?php $__currentLoopData = $balanceReport->getData(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $currency=>$accounts): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <table class="table table-striped">
                        <thead>
                        <tr>
                            <th class="account-col">
                                <?php echo app('translator')->get('Ledger::module.account.title_singular'); ?>
                            </th>
                            <th>
                                <?php echo app('translator')->get('Ledger::attributes.record.record_type_options.credit'); ?>
                            </th>
                            <th>
                                <?php echo app('translator')->get('Ledger::attributes.record.record_type_options.debit'); ?>
                            </th>
                            <th>
                                <?php echo app('translator')->get('Ledger::labels.balance'); ?>
                            </th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php $__currentLoopData = $accounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $account): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td><?php echo e($account->name); ?></td>
                                <td><?php echo e($account->credit_amount??0); ?></td>
                                <td><?php echo e($account->debit_amount??0); ?></td>
                                <td><?php echo e(($account->credit_amount??0) - ($account->debit_amount??0)); ?></td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                        <tfoot>
                        <tr class="bg-primary text-white">
                            <th></th>
                            <th><?php echo e($accounts->sum('credit_amount')); ?> <?php echo e($currency); ?></th>
                            <th><?php echo e($accounts->sum('debit_amount')); ?> <?php echo e($currency); ?></th>
                            <th><?php echo e($accounts->sum('credit_amount') - $accounts->sum('debit_amount')); ?> <?php echo e($currency); ?></th>
                        </tr>
                        </tfoot>
                    </table>
                    <hr/>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php echo $__env->renderComponent(); ?>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/corals/ledger.corals.io/Corals/modules/Ledger/resources/views/reports/balance_report.blade.php ENDPATH**/ ?>

Spamworldpro Mini