{{-- @extends('layouts.app') @section('content')

Loan Application #{{ $loanOffer->application_number }}

Back to List
Approval Status
@if ($loanOffer->approval == 'APPROVED')

APPROVED

@elseif ($loanOffer->approval == 'REJECTED')

REJECTED

@else

PENDING

@endif
Operational Status
@if ($loanOffer->status == 'disbursed')

DISBURSED

@elseif ($loanOffer->status == 'disbursement_pending')

PENDING BANK CONFIRMATION

@elseif ($loanOffer->status == 'DISBURSEMENT_FAILED')

DISBURSEMENT FAILED

@elseif ($loanOffer->status == 'FULL_SETTLED')

FULL SETTLED

@else

{{ strtoupper(str_replace('_', ' ', $loanOffer->status)) }}

@endif @if ($loanOffer->nmb_batch_id) @endif
@if ($loanOffer->approval === 'APPROVED' && !in_array($loanOffer->status, ['disbursement_pending', 'disbursed', 'FULL_SETTLED', 'DISBURSEMENT_FAILED']))
Ready for Disbursement

This loan is approved and ready to be sent to the customer.

Total Amount: TZS {{ number_format($loanOffer->total_amount_to_pay, 2) }}

@endif
Manage Loan Details
@csrf @method('PUT')
status, ['disbursement_pending', 'disbursed', 'FULL_SETTLED'])) disabled @endif>
For manual correction only.
@if(!in_array($loanOffer->status, ['disbursement_pending', 'disbursed', 'FULL_SETTLED'])) @endif
@push('modals') @endpush @endsection @push('scripts') @endpush --}} @extends('layouts.app') @section('content')

Loan Application #{{ $loanOffer->application_number }}

Back to List
{{-- LOAN STATUS DASHBOARD --}}
Approval Status
@if ($loanOffer->approval == 'APPROVED')

APPROVED

@elseif ($loanOffer->approval == 'REJECTED')

REJECTED

@else

PENDING

@endif
Operational Status
@if ($loanOffer->status == 'disbursed')

DISBURSED

@elseif ($loanOffer->status == 'disbursement_pending')

PENDING BANK CONFIRMATION

@elseif ($loanOffer->status == 'DISBURSEMENT_FAILED')

DISBURSEMENT FAILED

@elseif ($loanOffer->status == 'FULL_SETTLED')

FULL SETTLED

@else

{{ strtoupper(str_replace('_', ' ', $loanOffer->status)) }}

@endif @if ($loanOffer->nmb_batch_id) @endif
{{-- CRITICAL ACTIONS PANEL --}} @if ($loanOffer->approval === 'APPROVED' && !in_array($loanOffer->status, ['disbursement_pending', 'disbursed', 'FULL_SETTLED', 'DISBURSEMENT_FAILED']))
Ready for Disbursement

This loan is approved and ready to be sent to the customer.

Total Amount: TZS {{ number_format($loanOffer->total_amount_to_pay, 2) }}

@endif {{-- MAIN LOAN DETAILS FORM --}}
Manage Loan Details
@csrf @method('PUT')
status, ['disbursement_pending', 'disbursed', 'FULL_SETTLED'])) disabled @endif>

Beneficiary Account Details

For manual correction only.
@if(!in_array($loanOffer->status, ['disbursement_pending', 'disbursed', 'FULL_SETTLED'])) @endif
@push('modals') @endpush @endsection @push('scripts') @endpush