<?php if(!empty($account['salaryList'])): ?>
    
    <div class="table-responsive" style="max-width: 500px; margin: auto;">
        
        
        <table class="table table-sm table-bordered table-striped table-hover">
            <thead class="thead-light">
                <tr>
                    
                    <th>Date Salary was credited</th>
                    
                    
                    <th class="text-right">Amount of Salary</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 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; ?>