@extends('layouts.app') @section('content')

Micro Loan Approvals

Back to Applications
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if($pendingLoans->count() > 0)
@foreach($pendingLoans as $loan)
{{ $loan->id }} Pending
{{ $loan->member->full_name ?? 'N/A' }}

{{ $loan->member->nic ?? 'N/A' }}
{{ $loan->cbo->cbo_name ?? 'N/A' }}
{{ $loan->branch->branch_name ?? 'N/A' }}

Rs. {{ number_format($loan->loan_amount, 2) }}
Loan Amount
{{ $loan->installments }}
Installments

{{ $loan->application_date->format('M d, Y') }}
@endforeach
{{ $pendingLoans->links() }}
@else

No Pending Approvals

All micro loan applications have been processed.

View All Applications
@endif
@endsection