Payment History

BM Umrah Booking System

@php $__currency = $currency ?? 'SAR'; $fmtNum = function($amount, $bdtAmount = 0) use ($__currency) { if ($amount === null || $amount === '') return ''; $val = ($__currency === 'BDT' && $bdtAmount > 0) ? $bdtAmount : $amount; $val = floor($val * 100) / 100; return number_format($val, 2); }; $fmtCurrency = function($amount, $bdtAmount = 0) use ($__currency) { if ($amount === null || $amount === '') return ''; $val = ($__currency === 'BDT' && $bdtAmount > 0) ? $bdtAmount : $amount; $val = floor($val * 100) / 100; return ($__currency === 'BDT' ? 'BDT ' : 'SAR ') . number_format($val, 2); }; @endphp
Filters Applied: Date Range: {{ $dateLabel }}@if($branch) | Branch: {{ $branch->name }}@endif | Currency: {{ $__currency }}
@php $vouchersByDate = $vouchers->groupBy(function($v) { return \Carbon\Carbon::parse($v['payment_date'] ?? now())->format('Y-m-d'); })->sortKeys(); @endphp @forelse($vouchersByDate as $date => $dateVouchers) @foreach($dateVouchers as $v) @endforeach @empty @endforelse
Invoice ID Voucher No Method Transaction Type Trx ID Receive By Receive At Payment Date Amount
{{ \Carbon\Carbon::parse($date)->format('d-M-Y') }}
{{ $v['invoice_id'] }} {{ $v['voucher_no'] }} {{ $v['method'] }} {{ $v['transaction_type'] }} {{ $v['trx_id'] }} {{ $v['receive_by'] }} {{ $v['receive_at'] }} {{ $v['payment_date'] }} {{ $fmtNum($v['amount'], $v['bdt_amount'] ?? 0) }}
No records found.
Cash Total: {{ $fmtCurrency($totalCash, $totalCashBdt ?? 0) }}
Bank Total: {{ $fmtCurrency($totalBank, $totalBankBdt ?? 0) }}
Grand Total: {{ $fmtCurrency($totalAmount, $totalAmountBdt ?? 0) }}