@extends('layouts.app') @section('title', 'Loan Reports') @section('page-title', 'Loan Reports') @section('content')
| Loan # | Customer | Scheme | Principal | Total Amount | Paid | Outstanding | Disbursement | Maturity | Status |
|---|---|---|---|---|---|---|---|---|---|
| {{ $loan->loan_number }} | {{ $loan->customer->name }} | {{ $loan->loanScheme?->name ?? $loan->scheme?->name ?? 'N/A' }} | ₹{{ number_format($loan->principal_amount, 2) }} | ₹{{ number_format($loan->total_amount, 2) }} | ₹{{ number_format($loan->paid_amount, 2) }} | ₹{{ number_format($loan->remaining_amount, 2) }} | {{ $loan->disbursement_date->format('d M Y') }} | {{ $loan->maturity_date->format('d M Y') }} | {{ ucfirst($loan->status) }} |
|
No loans found |
|||||||||
| Total: | ₹{{ number_format($loans->sum('principal_amount'), 2) }} | ₹{{ number_format($loans->sum('total_amount'), 2) }} | ₹{{ number_format($loans->sum('paid_amount'), 2) }} | ₹{{ number_format($loans->sum('remaining_amount'), 2) }} | |||||