@if(!$is_pdf)
Back
@endif
| Order No | Rec No | Customer Name | Total | Paid | Balance | Transaction Date | Payment Method | Receipt Type | Remark |
|---|---|---|---|---|---|---|---|---|---|
| {{ $txn->order_code ?? '-' }} | {{ $txn->rec_no }} | {{ $txn->customer_name ?? '-' }} | @endif{{ number_format($dynamicTotal, 2) }} | {{ number_format($txn->pay_amount, 2) }} | {{-- Show balance only in the last row of this order group --}}@if($loop->last) {{ number_format($txn->remaining_amount, 2) }} @else - @endif | {{ \Carbon\Carbon::parse($txn->transaction_date)->format('d-m-Y') }} | {{-- Dynamic Payment Info --}}
@if($txn->payment_mode === 'Bank Transfer')
Bank Transfer Bank Name: {{ $txn->bank_name ?? '-' }} Ac No: {{ $txn->account_number ?? '-' }} IFSC Code: {{ $txn->ifsc_code ?? '-' }} @elseif($txn->payment_mode === 'Cheque') Cheque Cheque No: {{ $txn->cheque_number ?? '-' }} @elseif($txn->payment_mode === 'Online') Online Txn ID: {{ $txn->reference_id ?? '-' }} @else {{ $txn->payment_mode ?? '-' }} @endif |
{{ $txn->receipt_type ?? '-' }} | {{ $txn->remark ?? '-' }} |
| Total Balance: | {{ number_format($grandBalance, 2) }} | ||||||||