@extends('layouts.app') @section('content')
Imported loans for top-up tracking
| # | Check Number | Full Name | Loan Number | Application Number | Original Amount | Monthly Deduction | Outstanding Balance | Basic Salary | Allowance | Net Amount | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loans->firstItem() + $index }} | {{ $loan->check_number }} | {{ $loan->full_name ?? ($loan->payroll->full_name ?? 'N/A') }} | {{ $loan->loan_number ?? 'N/A' }} | {{ $loan->application_number ?? 'N/A' }} | {{ number_format($loan->requested_amount ?? 0, 2) }} | {{ number_format($loan->desired_deductible_amount ?? 0, 2) }} | {{ number_format($loan->outstanding_balance ?? 0, 2) }} | {{ number_format($loan->basic_salary ?? 0, 2) }} | {{ number_format($loan->allowance ?? 0, 2) }} | {{ number_format($loan->net_amount ?? 0, 2) }} | @php $status = strtolower($loan->display_status ?? 'NOT AVAILABLE'); @endphp @if($status == 'approved') Approved @elseif($status == 'pending') Pending @elseif($status == 'disbursed') Disbursed @elseif($status == 'rejected' || $status == 'cancelled') {{ ucfirst($status) }} @elseif($status == 'not available') NOT AVAILABLE @else {{ strtoupper($loan->display_status ?? 'NOT AVAILABLE') }} @endif |
|
No loan records have been imported yet.