✓ {{ session('success') }}
@endif
@if(session('error'))
⚠ {{ session('error') }}
@endif
Loan Account
{{ $loan->loan_number }}
Total Payable
{{ money($total) }}
{{ number_format((float) $loan->interest_rate, 2) }}% interest.
Loan Amount
{{ money((float)$loan->loan_amount) }}
Monthly EMI
{{ money((float)$loan->emi_amount) }}
Outstanding
{{ money($outstanding) }}
Loan Summary
Financial details
Interest Rate
{{ number_format((float) $loan->interest_rate, 2) }}%
Interest Amount
{{ money((float)$loan->interest_amount) }}
Processing Fee
{{ money((float)$loan->processing_fee) }}
@if((float)$loan->processing_fee > 0)
@if($loan->processing_fee_paid_at)
✓ PAID
{{ $loan->processing_fee_paid_at->format('d M Y, h:i A') }}
@else
● PAYMENT PENDING
@endif
@else
✓ NO FEE
@endif
Tenure
{{ $loan->tenure_months }} Months
Paid Amount
{{ money($paid) }}
Outstanding
{{ money($outstanding) }}
Repayment Progress
{{ number_format($percent,0) }}%
Loan Type & Product Details
{{ $loan->loanDetail->loanType->name ?? '—' }}
Loan Type
{{ $loan->loanDetail->loanType->name ?? '—' }}
@if(
is_array($loan->loanDetail->details) &&
count($loan->loanDetail->details)
)
@foreach($loan->loanDetail->details as $key => $value)
@if(!is_null($value) && $value !== '')
@else
{{ ucwords(
str_replace(
'_',
' ',
$key
)
) }}
@if(is_array($value))
{{ implode(', ', $value) }}
@else
{{ $value }}
@endif
@endif
@endforeach
No additional product details available.
@endif
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') : '—' }} | {{ money((float)$installment->emi_amount) }} | {{ money((float)$installment->paid_amount) }} | {{ money((float)$installment->outstanding_amount) }} | {{ 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
{{ money((float)$installment->emi_amount) }}
Paid
{{ money((float)$installment->paid_amount) }}
Outstanding
{{ money((float)$installment->outstanding_amount) }}
@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.' : ( $loan->processing_fee_paid_at ? 'Your processing fee has been received. Your loan is ready for disbursement.' : 'Your loan is approved. Processing fee payment is pending.' ) }}
{{ $loan->status === 'pending' ? 'Your application is waiting for admin review.' : ( $loan->processing_fee_paid_at ? 'Your processing fee has been received. Your loan is ready for disbursement.' : 'Your loan is approved. Processing fee payment is pending.' ) }}
← My Loans
@if($loan->emiCard)
View EMI Card
@endif