@extends('layouts.app') @section('title', 'Due Report') @section('page-title', 'Due Report') @section('content')
Show loans due within this many days
Reset
Total Due

{{ $summary['total_due'] }}

Total Amount

₹{{ number_format($summary['total_amount'], 2) }}

Upcoming Due Loans
@forelse($loans as $loan) @empty @endforelse @if($loans->count() > 0) @endif
Loan # Customer Scheme Due Date Days Until Due Outstanding Installment Status
{{ $loan->loan_number }} {{ $loan->customer->name }} {{ $loan->loanScheme?->name ?? $loan->scheme?->name ?? 'N/A' }} {{ $loan->due_date->format('d M Y') }} {{ $loan->days_until_due }} days ₹{{ number_format($loan->remaining_amount, 2) }} ₹{{ number_format($loan->monthly_installment, 2) }} Active

No due loans found

Total: ₹{{ number_format($loans->sum('remaining_amount'), 2) }} ₹{{ number_format($loans->sum('monthly_installment'), 2) }}
@endsection