@extends('layouts.app') @section('title', 'Loan Approvals') @section('content')
@if (session('success'))
{{ session('success') }}
@endif

Pending Loan Approvals

@if ($pendingLoans->count() > 0)
@foreach ($pendingLoans as $loan) @endforeach
ID Member Loan Product Amount Installments Applied On Credit Officer Actions
{{ $loan->loan_id }} {{ $loan->member->full_name }} {{ $loan->loanProduct->name }} {{ number_format($loan->loan_amount, 2) }} {{ $loan->installments }} {{ $loan->created_at->format('Y-m-d') }} {{ $loan->creditOfficer->name }}
View
@csrf
{{ $pendingLoans->links() }} @else
No pending loan applications found.
@endif
@endsection @section('scripts') @endsection