Thank you for your payment!
Dear {{ $client->first_name }} {{ $client->last_name }},
We have successfully received your payment for loan {{ $loan->loan_number }}.
Payment Details
Payment Amount:
${{ number_format($repayment->amount, 2) }}
Payment Date:
{{ $repayment->payment_date->format('M d, Y') }}
Payment Method:
{{ ucfirst(str_replace('_', ' ', $repayment->payment_method)) }}
@if($repayment->reference)
Reference Number:
{{ $repayment->reference }}
@endif
Loan Summary
@php $totalPaid = $loan->repayments->sum('amount'); $remainingBalance = max(0, $loan->total_repayment - $totalPaid); $progress = $loan->total_repayment > 0 ? ($totalPaid / $loan->total_repayment) * 100 : 0; @endphp
Total Paid:
${{ number_format($totalPaid, 2) }}
Remaining Balance:
${{ number_format($remainingBalance, 2) }}
Progress:
{{ number_format($progress, 1) }}%
Your consistent payments help maintain your good credit standing. We appreciate your commitment to meeting your financial obligations.
Next Payment Due: {{ $loan->repayment_date->addDays(30)->format('M d, Y') }}
View Full Loan Details