Last updated: {{ $creditScore['last_updated']->diffForHumans() }}
Active Loans
{{ $statistics['active_loans'] }}
of {{ $statistics['total_loans'] }} total
Outstanding Balance
${{ number_format($statistics['outstanding_balance'], 2) }}
Total Repaid
${{ number_format($statistics['total_repaid'], 2) }}
On-Time Payments
{{ $statistics['on_time_payments'] }}%
| Loan ID | Amount | Outstanding | Next Payment | Status | Actions |
|---|---|---|---|---|---|
| {{ substr($loan->loan_uuid, 0, 8) }}... | ${{ number_format($loan->principal_amount, 2) }} | ${{ number_format($loan->outstanding_balance, 2) }} |
@php
$nextPayment = collect($loan->repayment_schedule)
->where('status', 'pending')
->sortBy('due_date')
->first();
@endphp
@if($nextPayment)
${{ number_format($nextPayment['amount'], 2) }}
{{ \Carbon\Carbon::parse($nextPayment['due_date'])->format('M d, Y') }} @else - @endif |
Active | View Repay |
{{ $product['description'] }}
| Date | Amount | Term | Interest Rate | Status | Action |
|---|---|---|---|---|---|
| {{ $loan->created_at->format('M d, Y') }} | ${{ number_format($loan->principal_amount, 2) }} | {{ $loan->term_months }} months | {{ $loan->interest_rate }}% | @if($loan->status === 'active') Active @elseif($loan->status === 'paid_off') Paid Off @elseif($loan->status === 'defaulted') Defaulted @else {{ ucfirst($loan->status) }} @endif | View Details |