![]() 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/ |
<?php $recordDetailsSummary = view('Ledger::partials.recordDetailsSummary',compact('account'))->render(); ?> <style> .fwl { width: 50px; display: inline-block; } .header-value { font-weight: 600; font-size: 13px; padding: 0 10px; } .totals .header-value:not(:last-child) { border-right: 1px solid; } </style> <div class=""> <?php echo $recordDetailsSummary; ?> </div> <div class="table-responsive"> <table class="table table-condensed"> <thead class="table-light"> <tr> <th><?php echo app('translator')->get('Ledger::attributes.record.code'); ?></th> <th style="min-width: 110px;"><?php echo app('translator')->get('Ledger::attributes.record.record_date'); ?></th> <th><?php echo app('translator')->get('Ledger::attributes.record.type'); ?></th> <th><?php echo app('translator')->get('Ledger::attributes.record.amount'); ?></th> <th><?php echo app('translator')->get('Ledger::attributes.record.accumulative_amount'); ?></th> <th><?php echo app('translator')->get('Ledger::attributes.record.payment_method'); ?></th> <th><?php echo app('translator')->get('Ledger::attributes.record.notes'); ?></th> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = Ledger::getRecordsBetweenTwoDates($account_id); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $record): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr class="<?php echo e($loop->index%2?'odd-tr':'even-tr'); ?> <?php echo e($record->type =='debit'?'font-bold':''); ?>"> <td style="width: 100px;"><?php echo $record->presentStripTags('code'); ?></td> <td><?php echo $record->present('record_date'); ?></td> <td><?php echo $record->present('type'); ?></td> <td><?php echo $record->present('amount'); ?></td> <td><?php echo $record->accumulative_amount; ?></td> <td> <?php echo $record->present('payment_method'); ?> <?php if($record->payment_method =='cheque'): ?> <ul class="list-inline m-0"> <li class="list-inline-item ml-0" style="min-width: 100px;"> <?php echo e($record->getProperty('cheque_date')); ?> </li> <li class="list-inline-item"> NO. <?php echo e($record->getProperty('cheque_number')); ?> </li> <li class="list-inline-item"> <?php echo e($record->getProperty('cheque_name')); ?> </li> </ul> <?php endif; ?> </td> <td style="max-width: 300px;"><?php echo e($record->notes); ?></td> </tr> <?php if($record->items->isNotEmpty()): ?> <tr class="<?php echo e($loop->index%2?'odd-tr':'even-tr'); ?>"> <td></td> <td colspan="5"> <?php echo $__env->make('Ledger::partials.recordItemsShow',['record'=>$record], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </td> <td></td> </tr> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <tr> <td colspan="6"> <?php echo app('translator')->get('Ledger::labels.no_data'); ?> </td> </tr> <?php endif; ?> </tbody> </table> </div> <div class=""> <?php echo $recordDetailsSummary; ?> </div> <?php /**PATH /home/corals/ledger.corals.io/Corals/modules/Ledger/resources/views/partials/recordDetailsForAccount.blade.php ENDPATH**/ ?>