| # | Staff ID | Name | PD | Advance | Total Amount | Payable | Bank Name | Account Holder | Account Number | IFSC | Bank Branch |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $row->staff_id }} | {{ $row->staff->name ?? '-' }} | {{ $row->present_days }} | {{ number_format($row->advance, 2) }} | {{ number_format($row->salary, 2) }} | {{ number_format($row->payout, 2) }} | {{ $row->bank_name ?: 'null' }} | {{ $row->account_holder_name ?: 'null' }} | {{ $row->account_number ?: 'null' }} | {{ $row->ifsc ?: 'null' }} | {{ $row->branch_name ?: 'null' }} |
| Total | {{ $details->sum('present_days') }} | {{ number_format($details->sum('advance'), 2) }} | {{ number_format($details->sum('salary'), 2) }} | {{ number_format($details->sum('payout'), 2) }} | |||||||