@extends('employee_loan.base_template') @section('page_title', 'Pending Loans') @section('page_heading', 'Pending Loan Applications') @section('page_description', 'Review and process pending loan applications') @section('page_icon') @endsection @section('kpi_section')
PENDING

{{ $stats['total'] ?? 0 }}

Total Pending
AMOUNT

{{ number_format($stats['total_amount'] ?? 0, 0) }}

Total TZS
AVERAGE

{{ number_format($stats['average_amount'] ?? 0, 0) }}

Avg Amount TZS
ACTIONS
@endsection @section('search_section')
@endsection @section('table_content') @forelse($loanOffers as $offer)
{{ $offer->first_name ?? $offer->employee_name }} {{ $offer->last_name ?? '' }}
Check #: {{ $offer->check_number ?? $offer->employee_number }}
{{ number_format($offer->basic_salary ?? 0, 0) }}
Net: {{ number_format($offer->net_salary ?? 0, 0) }}
{{ number_format($offer->desired_deductible_amount ?? 0, 0) }}
{{ number_format($offer->requested_amount ?? 0, 0) }}
{{ number_format($offer->take_home_amount ?? $offer->net_loan_amount ?? 0, 0) }}
@if($offer->tenure) {{ $offer->tenure }} mo @else - @endif Pending New
@empty
No Pending Loan Applications

All loan applications have been processed

@endforelse @endsection @section('pagination_section') @if($loanOffers->hasPages()) @endif @endsection @section('additional_scripts') @endsection