✓ {{ session('success') }}
@endif
@if(session('error'))
⚠ {{ session('error') }}
@endif
Loan Account
{{ $loan->loan_number }}
Total Payable
₹{{ number_format($total,2) }}
0% interest · Processing fee included
Loan Amount
₹{{ number_format((float)$loan->loan_amount,2) }}
Monthly EMI
₹{{ number_format((float)$loan->emi_amount,2) }}
Outstanding
₹{{ number_format($outstanding,2) }}
Loan Summary
Financial details
Interest Rate
0%
Interest Amount
₹{{ number_format((float)$loan->interest_amount,2) }}
Processing Fee
₹{{ number_format((float)$loan->processing_fee,2) }}
Tenure
{{ $loan->tenure_months }} Months
Paid Amount
₹{{ number_format($paid,2) }}
Outstanding
₹{{ number_format($outstanding,2) }}
Repayment Progress
{{ number_format($percent,0) }}%
Loan Information
Timeline
EMI Card
{{ $loan->emiCard?->card_number ?? '—' }}
Applied On
{{ $loan->applied_at?->format('d M Y') ?? '—' }}
Approved On
{{ $loan->approved_at?->format('d M Y') ?? '—' }}
Disbursed On
{{ $loan->disbursed_at?->format('d M Y') ?? '—' }}
First EMI
{{ $loan->first_emi_date?->format('d M Y') ?? '—' }}
@if($loan->completed_at)
Completed On
{{ $loan->completed_at->format('d M Y') }}
@endif
@if($loan->status === 'closed')
Closed On
{{ $loan->closed_at?->format('d M Y') ?? '—' }}
Closed By
{{ $loan->closer?->name ?? 'Admin' }}
@endif
Loan Closed
This loan has been closed by administration. @if($loan->closed_at) Closed on {{ $loan->closed_at->format('d M Y h:i A') }}.
@endif @if($loan->close_reason) Reason: {{ $loan->close_reason }} @endif
This loan has been closed by administration. @if($loan->closed_at) Closed on {{ $loan->closed_at->format('d M Y h:i A') }}.
@endif @if($loan->close_reason) Reason: {{ $loan->close_reason }} @endif
Application Rejected
{{ $loan->rejection_reason }}
{{ $loan->rejection_reason }}
Admin Note
{{ $loan->admin_notes }}
{{ $loan->admin_notes }}
EMI Schedule
{{ $installments->count() }} installments
@if($installments->count())
| # | Due Date | EMI | Paid | Outstanding | Status | Action |
|---|---|---|---|---|---|---|
| {{ $installment->installment_number }} | {{ $installment->due_date ? \Illuminate\Support\Carbon::parse( $installment->due_date )->format('d M Y') : '—' }} | ₹{{ number_format( (float)$installment->emi_amount, 2 ) }} | ₹{{ number_format( (float)$installment->paid_amount, 2 ) }} | ₹{{ number_format( (float)$installment->outstanding_amount, 2 ) }} | {{ ucfirst( str_replace( '_', ' ', $installment->status ) ) }} | @if( in_array( $installment->status, ['paid','completed'], true ) ) ✓ PAID @else @endif |
@foreach($installments as $installment)
@php
$es = strtolower(
(string) $installment->status
);
$ec = match($es) {
'paid'
=> 'paid',
'overdue'
=> 'emi-overdue',
'partial'
=> 'partial',
'cancelled'
=> 'emi-cancelled',
default
=> 'emi-pending'
};
@endphp
{{
ucfirst(
str_replace(
'_',
' ',
$installment->status
)
)
}}
@endforeach
@else
EMI #
{{ $installment->installment_number }}
Due:
{{
$installment->due_date
? \Illuminate\Support\Carbon::parse(
$installment->due_date
)->format('d M Y')
: '—'
}}
EMI
₹{{ number_format(
(float)$installment->emi_amount,
2
) }}
Paid
₹{{ number_format(
(float)$installment->paid_amount,
2
) }}
Outstanding
₹{{ number_format(
(float)$installment->outstanding_amount,
2
) }}
@if(
in_array(
$installment->status,
['paid','completed'],
true
)
)
✓ Payment Completed
@else
@endif
EMI schedule not generated yet.
It will appear after the loan is disbursed.
@endif
{{
$loan->status === 'pending'
? 'Application Under Review'
: 'Loan Approved'
}}
{{ $loan->status === 'pending' ? 'Your application is waiting for admin review.' : 'Your loan is approved and waiting for disbursement.' }}
{{ $loan->status === 'pending' ? 'Your application is waiting for admin review.' : 'Your loan is approved and waiting for disbursement.' }}
← My Loans
@if($loan->emiCard)
View EMI Card
@endif