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

Leads Ready for Document Upload

The following approved loan applications are ready for you to upload their prepared documents (such as agreements, offer letters, or other required files)

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

Once a loan application is approved, you may upload the required prepared documents here.

View All Applications
@else
{{-- --}} {{-- --}} @foreach($leads as $index => $lead) {{-- --}} {{-- --}} @endforeach
#Serial No. Applicant Factoring Pre Factoring Title Summary Status 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() }} Upload Documents
@endif
@endsection @section('script') @endsection