@extends('layouts.app') @section('title','Loan Applications') @section('content')

Loan applications

Review applications and record decisions.

+ New application
@forelse($applications as $a)@empty@endforelse
ApplicationCustomerProductRequestedTenorStatusReviewDisburse
{{ $a->application_no }}{{ $a->customer->first_name }} {{ $a->customer->last_name }}{{ $a->product->name }}₦{{ number_format($a->requested_amount,2) }}{{ $a->tenor_months }} mo.{{ ucfirst(str_replace('_',' ',$a->status)) }}@if(in_array($a->status,['submitted','under_review']))
@csrf
@csrf
@else—@endif
@if($a->status==='approved' && !$a->loan)
@csrf
@else—@endif
No applications found.
{{ $applications->links() }}
@endsection