Loan ID
{{ substr($loan->loan_uuid, 0, 8) }}...
Outstanding Balance
${{ number_format($outstandingBalance, 2) }}
Due Date
{{ \Carbon\Carbon::parse($nextPayment['due_date'])->format('M d, Y') }}
{{ \Carbon\Carbon::parse($nextPayment['due_date'])->diffForHumans() }}
Amount Due
${{ number_format($nextPayment['amount'], 2) }}
Breakdown
Principal: ${{ number_format($nextPayment['principal'], 2) }}
Interest: ${{ number_format($nextPayment['interest'], 2) }}