@extends('employee_loan.base_template') @section('page_title', 'Rejected Loans') @section('page_heading', 'Rejected Loan Applications') @section('page_description', 'View and manage rejected loan applications') @section('page_icon') @endsection @section('kpi_section')
REJECTED

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

Total Rejected
AMOUNT

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

Total TZS
MONTHLY

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

This Month
TOP REASON
{{ $stats['top_reason'] ?? 'Insufficient Salary' }}
Most Common
@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 Rejected @if($offer->rejection_reason) {{ Str::limit($offer->rejection_reason, 20) }} @else - @endif
@empty
No Rejected Loans

No loans have been rejected

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