|
Collection Report
EMI and other payments received
@if($fromDate && $toDate)
Date:
{{ \Carbon\Carbon::parse($fromDate)->format('d-m-Y') }}
-
{{ \Carbon\Carbon::parse($toDate)->format('d-m-Y') }}
@elseif($fromDate)
From:
{{ \Carbon\Carbon::parse($fromDate)->format('d-m-Y') }}
@elseif($toDate)
Up to:
{{ \Carbon\Carbon::parse($toDate)->format('d-m-Y') }}
@else
All Dates
@endif
|
Generated
{{ now()->format('d-m-Y h:i A') }}
|
|
Total Payments
{{ $payments->count() }}
|
Total Collected
{{ $currencySymbol }}{{ number_format($totalCollected, $decimalPlaces) }}
|
| Date | Client | Loan | Type | Method | Amount | Reference |
|---|---|---|---|---|---|---|
| {{ $payment->paid_at?->format('d-m-Y') ?? '-' }} | {{ $payment->user?->name ?? '-' }} | {{ $payment->loan?->loan_number ?? '-' }} | {{ ucfirst( str_replace( '_', ' ', $payment->payment_type ?? 'general' ) ) }} | {{ ucfirst( str_replace( '_', ' ', $payment->payment_method ?? '-' ) ) }} | {{ $currencySymbol }}{{ number_format((float) $payment->amount, $decimalPlaces) }} | {{ $payment->reference_number ?? '-' }} |
| No payments found. | ||||||
| Total Collection | {{ $currencySymbol }}{{ number_format((float) $totalCollected, $decimalPlaces) }} | |||||