@extends('layouts.app') @section('content')
| # | Transaction Date | Invoice # | Customer | Account Holder | Bank Name | Account Name | Account Number | Amount | Received By | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $payments->firstItem() + $idx }} | {{ optional($p->transaction_date)->format('Y-m-d') }} | {{ $p->salesInvoice->invoice_no ?? 'N/A' }} | {{ optional($p->salesInvoice->customer)->company_name ?? optional($p->salesInvoice->customer)->name }} | {{ optional($p->accountHolderInfo)->name ?? 'N/A' }} | {{ optional($p->bankAccountInfo)->bank_name }} | {{ optional($p->bankAccountInfo)->account_name }} | {{ optional($p->bankAccountInfo)->account_number }} | BDT {{ number_format($p->amount, 2) }} | {{ $p->received_by }} | View Edit |
| No payments found. | ||||||||||
| Total (Current Page): | BDT {{ number_format($payments->sum('amount'), 2) }} | |||||||||
| Grand Total (All Filtered): | BDT {{ number_format($filteredStats['filtered_total_amount'], 2) }} | |||||||||