@extends('layouts.app') @section('title') Leads Disbursement @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Lead Management @endslot @slot('title') Disbursement @endslot @endcomponent @if (session('success')) @endif @if (session('error')) @endif

Leads Ready for Disbursement

The following loan applications have been approved and are now ready for disbursement.

@if($leads->isEmpty())
{{-- Icon --}}
{{-- Title --}}
There are currently no approved loans ready for disbursement.
{{-- Description --}}

To process disbursement, make sure the loan application has passed all prior approval stages.

View All Applications
@else
{{-- --}} {{-- --}} @foreach($leads as $index => $lead) {{-- --}} {{-- --}} @endforeach
#Serial No. Applicant Factoring Pre Factoring Title Summary Status Approved Amount ActionDate
{{ $index + 1 }}{{ $lead->serial_no }} {{ $lead->applicant->applicant_name ?? '' }} {{ $lead->fund_amount ? 'RM ' . number_format($lead->fund_amount,2) : '0.00' }} {{ $lead->pre_fund_amount ? 'RM ' . number_format($lead->pre_fund_amount,2) : '0.00' }}{{ $lead->title_summary }}{{ \Illuminate\Support\Str::words($lead->title_summary, 10, '...') ?? '-' }} {{ $lead->currentStatus() }} RM {{ number_format(($lead->creditpaper->pre_amount ?? 0) + ($lead->creditpaper->post_amount ?? 0), 2) }} Disburse Now
@endif
@endsection @section('script') @endsection