@php use App\Models\LeadApplicant; @endphp

Verified Lead

Facility Application
@if ($lead->pre_facility) @else @endif
Title / Summary : {{ $lead->title_summary }}
{{ $lead->pre_facility->label }} > {{ $lead->pre_purpose->description }} {{ $lead->post_facility->label }} > {{ $lead->post_purpose->description }}
Pre-Factoring Amount > RM {{ number_format($lead->pre_fund_amount, 2, '.', ',') }} Factoring Amount > RM {{ number_format($lead->fund_amount, 2, '.', ',') }}
{{ $lead->post_facility->label }} > {{ $lead->post_purpose->description }}
Factoring Amount > RM {{ number_format($lead->fund_amount, 2, '.', ',') }}
Duration : {{ $lead->tenure_period }} {{ optional($lead->tenure)->description ?? $lead->tenure_unit }} Originator : {{ $lead->originator_info->name }}
Status : {{ $lead->current_status->description }}
Applicant Information
@if($lead->applicant->applicant_type == LeadApplicant::APPLICANT_INDIVIDUAL)
Type of Entity : {{ $lead->applicant->type->name }}
Applicant Name : {{ $lead->applicant->applicant_name }} NRIC : {{ $lead->applicant->applicant_nric }}
Address : {{ $lead->applicant->applicant_address_1 }}, @if ($lead->applicant->applicant_address_2) {{ $lead->applicant->applicant_address_2 }} @endif
  {{ $lead->applicant->applicant_postcode }} {{ $lead->applicant->applicant_city }}, {{ $lead->applicant->state->name }}
Email : {{ $lead->applicant->applicant_email }}
Phone : +60{{ $lead->applicant->applicant_phone }}
@else
Type of Entity : {{ $lead->applicant->type->name }}
Name of Entity : {{ $lead->applicant->applicant_name }} Business Registration No. : {{ $lead->applicant->applicant_brn }}
Business Registration Date : {{ $lead->applicant->applicant_brd }} Business Address : {{ $lead->applicant->applicant_address_1 }}, @if ($lead->applicant->applicant_address_2) {{ $lead->applicant->applicant_address_2 }} @endif
  {{ $lead->applicant->applicant_postcode }} {{ $lead->applicant->applicant_city }}, {{ $lead->applicant->state->name }}
Email : {{ $lead->applicant->applicant_email }} Telephone Phone : +60{{ $lead->applicant->applicant_phone }}
Contact Details
Contact Person : {{ $lead->applicant->contact_name }} Position : {{ $lead->applicant->contact_position }}
Email : {{ $lead->applicant->contact_email }} Telephone Phone : +60{{ $lead->applicant->contact_phone }}
@endif
Bank Account Information
@if($lead->banks->isEmpty()) @else @foreach($lead->banks as $bank) @endforeach @endif
Bank Account Number Facility Limit
No bank account information available
{{ $bank->ref_bank->bank_name ?? '-' }} {{ $bank->acc_no ?? '-' }} {{ $bank->facility ?? '-' }} {{ isset($bank->limit_amount) ? 'RM ' . number_format($bank->limit_amount, 2, '.', ',') : '-' }}
Contract Information
@if($lead->contracts->isEmpty()) @else @foreach($lead->contracts as $contract) @endforeach @endif
Contract Title Awarder Amount Payment Method
No contract information available
{{ $contract->contract_title ?? '-' }} {{ $contract->awarder_name ?? '-' }} {{ isset($contract->contract_value) ? 'RM ' . number_format($contract->contract_value, 2, '.', ',') : '-' }} {{ $contract->payment->description ?? '-' }}
Pre-Factoring Payee
@if($lead->payees->isEmpty()) @else @foreach($lead->payees as $payee) @endforeach @endif
Payee Company Business Address Purpose Amount
No payee information available
{{ $payee->company ?? '-' }} {{ $payee->address_1 ?? '' }} @if(!empty($payee->address_2))
{{ $payee->address_2 }} @endif @if(!empty($payee->postcode) || !empty($payee->city) || !empty(optional($payee->payee_state)->name))
{{ $payee->postcode ?? '' }} {{ $payee->city ?? '' }} @if(!empty(optional($payee->payee_state)->name)), {{ optional($payee->payee_state)->name }}@endif @endif
{{ $payee->purpose ?? '-' }} {{ isset($payee->amount) ? 'RM ' . number_format($payee->amount, 2, '.', ',') : '-' }}
Documents Checklist
@foreach($doc_types as $doc) @php $leadDocs = $lead->docs->where('type', $doc->code); $hasDoc = $leadDocs->isNotEmpty(); @endphp
{{ $doc->description }}
@if($hasDoc) @foreach($leadDocs as $leadDoc) @foreach($leadDoc->files as $file) {{-- {{ $file->file_name }} --}} {{ $file->file_name }} @if(!$loop->last)
@endif @endforeach @if(!$loop->last) @endif @endforeach @else No file found. @endif
@if(!$loop->last)
@endif @endforeach
Fee Payment
@if(!empty($payment)) @if($payment->method == 'manual') @endif
Payment Method : {{ $payment->method == 'manual' ? 'Manual Payment' : 'FPX Payment' }}
Amount : RM {{ number_format($payment->amount, 2, '.', ',') }}
Document @if(!empty($payment->file_path)) {{-- : {{ $payment->file_name }} --}} : {{ $file->file_name }} @else No document uploaded @endif
@else Borrower has not made any payment yet. @endif

Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident.
@section('script') @endsection