@extends('layouts.app') @section('title','My Loans') @section('page-title','My Loans') @section('content')
Loan Applications
Track your loan applications and repayments
Apply for Loan
@if($loans->isEmpty())
💳
No Loan Applications
You haven't applied for a loan yet.
Apply Now
@else
@foreach($loans as $loan)
Loan Number
{{ $loan->loan_number }}
{{ $loan->loan_type_label }} · Applied {{ $loan->created_at->format('M Y') }}
Amount
${{ number_format($loan->amount,2) }}
Outstanding
${{ number_format($loan->outstanding_balance,2) }}
Term
{{ $loan->term_months }} mo @ {{ $loan->interest_rate }}%
{{ ucfirst($loan->status) }}
@if(in_array($loan->status,['approved','disbursed']) && $loan->amount > 0) @php $pct = min(100,($loan->amount_paid/$loan->amount)*100); @endphp
{{ round($pct) }}% repaid
@endif
@endforeach
@if($loans->hasPages())
{{ $loans->links() }}
@endif @endif @endsection