@extends('layouts.app') @section('title', 'Repayments') @section('page-title', 'Repayments') @section('content')
| Loan # | Member | Due Date | Installment | Paid | Status | Action |
|---|---|---|---|---|---|---|
{{ $r->loan->loan_number }} |
{{ strtoupper(substr($r->loan->member->name, 0, 2)) }}
{{ $r->loan->member->name }}
|
{{ $r->due_date->format('M d, Y') }} @if($r->due_date->isPast() && $r->status !== 'paid') (overdue) @endif | ${{ number_format($r->amount, 2) }} | ${{ number_format($r->amount_paid, 2) }} | {{ ucfirst($r->status) }} | @if($r->status !== 'paid') Record @else Settled @endif |
| No repayment records found | ||||||