<?php if(!empty($account['salaryList'])): ?>
    
    <div class="table-responsive" style="max-width: auto; margin: auto;">
        
        
        <table class="table table-sm table-bordered table-striped table-hover" style="text-align: center;">
            <thead class="thead-light">
                <tr>
                    <th>Salary credited date</th>
                    <th>Description </th>
                    <th class="text-right">Amount</th>
                </tr>
            </thead>
            <tbody>
                
                <?php $__currentLoopData = $account['salaryList']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $salary): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td>
                            <?php echo e(isset($salary['date']) ? \Carbon\Carbon::parse($salary['date'])->format('d-M-Y') : '-'); ?>

                        </td>
                        <td style="white-space: normal; word-break: break-word; max-width: auto;">
                            <?php echo e(isset($salary['narration']) ? ($salary['narration']) : 'NA'); ?>

                        </td>
                        <td class="text-right" style="font-family: sans-serif;">
                            &#8377; <?php echo e($salary['amount'] ?? '-'); ?>

                        </td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
<?php else: ?>
    <p class="text-muted">No salary details found for this account.</p>
<?php endif; ?>