@extends('layouts.app') @section('title', 'Loans') @section('page-title', 'Loans') @section('content')
All Loans
New Loan
@forelse($loans as $loan) @empty @endforelse
Loan # Customer Principal Remaining Due Date Status Actions
{{ $loan->loan_number }} {{ $loan->customer->name }} ₹{{ number_format($loan->principal_amount, 2) }} ₹{{ number_format($loan->remaining_amount, 2) }} {{ $loan->due_date->format('d M Y') }} {{ ucfirst($loan->status) }}
No loans found.
{{ $loans->links() }}
@endsection