<?php if(!empty($account['bounceTransactions'])): ?>
    <div class="table-responsive" style="max-height: 400px; overflow-y: auto;">
        <table class="table table-bordered table-striped table-hover">
            <thead class="thead-dark">
                <tr>
                    <th>Date</th>
                    <th>Description</th>
                    <th>Category</th>
                    <th>Amount</th>
                    <th>Type</th>
                    <th>Balance</th>
                </tr>
            </thead>
            <tbody>
                <?php $__currentLoopData = $account['bounceTransactions']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $transaction): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td><?php echo e(isset($transaction['dateOfTransaction']) ? \Carbon\Carbon::parse($transaction['dateOfTransaction'])->format('d-M-Y') : '-'); ?></td>
                        <td><?php echo e($transaction['narration'] ?? '-'); ?></td>
                        <td><?php echo e($transaction['category'] ?? '-'); ?></td>
                        <td style="font-family: sans-serif;">&#8377;<?php echo e(number_format($transaction['amount'] ?? 0, 2)); ?></td>
                        <td><span class="badge badge-<?php echo e(($transaction['type'] ?? '') == 'DEBIT' ? 'danger' : 'success'); ?>"><?php echo e($transaction['type'] ?? '-'); ?></span></td>
                        <td style="font-family: sans-serif;">&#8377;<?php echo e(number_format($transaction['balance'] ?? 0, 2)); ?></td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
<?php else: ?>
    <p class="text-muted">No bounce transactions found for this account.</p>
<?php endif; ?>