@extends('layouts.app') @section('title') @lang('translation.Data_Tables') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Lead Finalization & Disbursement @endslot @slot('title') Transaction Document Review @endslot @endcomponent

Transaction Document Management

List of loan applications for document review and management.

@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 }} {!! $lead->processStatus->description_lender !!} @php $actionRoute = ''; $actionText = ''; if ($lead->status == '1400') { $actionRoute = route('trxdoc.show', encrypt($lead->id)); $actionText = 'View Docs'; } elseif (in_array($lead->status, ['1401', '1402'])) { $actionRoute = route('trxdoc.verify', encrypt($lead->id)); $actionText = 'Verify Docs'; } @endphp @if($actionRoute) {{ $actionText }} @endif
@endif
@endsection @section('script') @endsection