@extends('employee_loan.base_template') @section('page_title', 'Disbursed Loans') @section('page_heading', 'Disbursed Loan Applications') @section('page_description', 'Track and manage disbursed loan funds') @section('page_icon') @endsection @section('kpi_section')
DISBURSED

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

Total Disbursed
AMOUNT

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

Total TZS
ACTIVE

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

Active Loans
MONTHLY

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

This Month
@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 Disbursed @if($offer->disbursement_date) {{ \Carbon\Carbon::parse($offer->disbursement_date)->format('d M Y') }} @else - @endif
@empty
No Disbursed Loans

No loans have been disbursed yet

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