@extends('layouts.admin') @section('title', $loan->loan_no) @section('content')

{{ $loan->loan_no }}

{{ $loan->customer->display_name ?? '—' }} · {{ $loan->loanProduct->name ?? '—' }}

Back to list
{{ money($loan->principal) }}
{{ money($loan->outstanding_principal) }}
{{ $loan->interest_rate }}% ({{ $loan->interest_method }})
{{ $loan->tenor_months }} months
{{ money($loan->processing_fee) }}
{{ $loan->application_date?->format('d M Y') ?? '—' }}
{{ $loan->approval_date?->format('d M Y') ?? '—' }}
{{ $loan->disbursement_date?->format('d M Y') ?? '—' }}
{{ $loan->purpose ?? '—' }}

Loan timeline & interest accumulation

@if(in_array($loan->status, ['submitted', 'underwriting'], true))

Underwriting Actions

@csrf
@csrf
@endif @if($loan->rejection_reason)
Rejection reason: {{ $loan->rejection_reason }}
@endif @if($loan->schedules->isNotEmpty())

Amortization Schedule

@foreach($loan->schedules as $schedule) @endforeach
# Due Date Principal Interest Total Due Status
{{ $schedule->installment_no }} {{ $schedule->due_date?->format('d M Y') ?? '—' }} {{ money($schedule->principal_due) }} {{ money($schedule->interest_due) }} {{ money($schedule->total_due) }}
@endif

Guarantors ({{ $loan->guarantors->count() }})

@forelse($loan->guarantors as $g) @empty @endforelse
NamePhoneRelationship
{{ $g->full_name ?? $g->name ?? '—' }} {{ $g->phone ?? '—' }} {{ $g->relationship ?? '—' }}
No guarantors on file.

Collaterals ({{ $loan->collaterals->count() }})

@forelse($loan->collaterals as $c) @empty @endforelse
TypeDescriptionValue
{{ ucfirst($c->collateral_type ?? $c->type ?? '—') }} {{ $c->description ?? '—' }} {{ isset($c->estimated_value) ? money($c->estimated_value) : (isset($c->value) ? money($c->value) : '—') }}
No collaterals on file.
@if($loan->repayments->isNotEmpty())

Repayments

@foreach($loan->repayments as $rep) @endforeach
DateAmountPrincipalInterestReference
{{ $rep->payment_date?->format('d M Y') ?? $rep->created_at->format('d M Y') }} {{ money($rep->amount) }} {{ money($rep->principal_portion ?? 0) }} {{ money($rep->interest_portion ?? 0) }} {{ $rep->reference ?? '—' }}
@endif @endsection