<?php $__env->startSection('content'); ?>
    <?php echo $__env->make($activeTemplate.'partials.breadcrumb', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <section class="dashboard-section bg--section pt-120">
        <div class="container">
            <div class="pb-120">
                <div class="table-responsive">
                    <table class="table cmn--table">
                        <thead>
                            <tr>
                                <th><?php echo app('translator')->get('Transaction ID'); ?></th>
                                <th><?php echo app('translator')->get('Amount'); ?></th>
                                <th><?php echo app('translator')->get('Charge'); ?></th>
                                <th><?php echo app('translator')->get('Post Balance'); ?></th>
                                <th><?php echo app('translator')->get('Details'); ?></th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php $__empty_1 = true; $__currentLoopData = $transactions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                <tr>
                                    <td data-label="<?php echo app('translator')->get('Transaction ID'); ?>"><?php echo e($item->trx); ?></td>

                                    <td data-label="<?php echo app('translator')->get('Amount'); ?>"> <?php if($item->trx_type == '+'): ?>
                                        <span class="text--base">+ <?php echo e(showAmount($item->amount)); ?> <?php echo e(__($general->cur_text)); ?></td></span>
                                    <?php elseif($item->trx_type == '-'): ?>
                                        <span class="text--danger">- <?php echo e(showAmount($item->amount)); ?> <?php echo e(__($general->cur_text)); ?></td></span>
                                    <?php endif; ?>

                                    <td data-label="<?php echo app('translator')->get('Charge'); ?>"><?php echo e(showAmount($item->charge)); ?> <?php echo e(__($general->cur_text)); ?></td>
                                    <td data-label="<?php echo app('translator')->get('Post Balance'); ?>"><?php echo e(showAmount($item->post_balance)); ?> <?php echo e(__($general->cur_text)); ?></td>

                                    <td data-label="<?php echo app('translator')->get('Details'); ?>"><?php echo e(__($item->details)); ?></td>
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                <tr><td colspan="100%" class="text-center"><?php echo e(__($emptyMessage)); ?></td></tr>
                            <?php endif; ?>

                        </tbody>
                    </table>
                </div>
                <ul class="pagination justify-content-end">
                    <?php echo e($transactions->links()); ?>

                </ul>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>


<?php echo $__env->make($activeTemplate.'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/flightbo/public_html/skycrestaviationacademy.com/core/resources/views/templates/basic/user/transaction.blade.php ENDPATH**/ ?>