@extends('layouts.app') @section('title') @lang('Clients Acceptance') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Lead Finalization & Disbursement @endslot @slot('title') Client Acceptance @endslot @endcomponent

Client Acceptance Document Management

List of loan applications for client acceptance document review and management.

@if (session('success')) @endif @if (session('error')) @endif @if($leads->isEmpty())
{{-- Icon --}}
{{-- Title --}}
No application found.
{{-- 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
# Loan SN Borrower / Business Funding Type Title Summary Status Action
{{ $index + 1 }} {{ $lead->lead_sn }} {{ $lead->biz_name ?: $lead->applicant_name }} {{ $lead->funding->fundType->description }}{{ $lead->title_summary }}{{ \Illuminate\Support\Str::words($lead->title_summary, 10, '...') ?? '-' }} {!! $lead->processStatus->description_lender !!} @php $actionRoute = ''; $actionText = ''; if ($lead->status == '1200') { $actionRoute = route('acceptance.show', encrypt($lead->id)); $actionText = 'View'; } elseif (in_array($lead->status, ['1201', '1202'])) { $actionRoute = route('acceptance.verify', encrypt($lead->id)); $actionText = 'Verify Docs'; } @endphp @if($actionRoute) {{ $actionText }} @endif
@endif
@endsection @section('script') @endsection