@extends('backend.master') @section('title','Installments for Loan #'.$loan->id) @push('styles') {{-- Bootstrap Icons --}} @endpush @section('content')
| # | Due date | Amount | Principal / Interest | Status | Paid info | Action |
|---|---|---|---|---|---|---|
| #{{ $ins->id }} |
{{ $ins->due_date?->format('d M Y') }}
{{ $ins->due_date?->diffForHumans() }}
|
৳ {{ number_format($ins->amount) }} | P: {{ number_format($ins->principal_part) }}, I: {{ number_format($ins->interest_part) }} |
{{ $statusLabel }}
@if($ins->paid_at)
{{ $ins->paid_at->format('d M, H:i') }}
@endif
|
@if($ins->status === 'paid')
Paid: ৳ {{ number_format($ins->paid_amount) }}
{{ $ins->payment_method ? strtoupper($ins->payment_method).' · ' : '' }}
{{ $ins->payment_trx_id }}
@else
—
@endif
|
Update |
| No installments found for this loan. | ||||||