@extends('layouts.app') @section('title') @lang('Lead Verification') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Lead Verification @endslot @slot('title') {{ $lead->serial_no }} @endslot @endcomponent

Verify Lead

Lead - {{ $lead->serial_no }}

Please review each sections and verify the submitted data.

Title / Summary : {{ $lead->title_summary }}
Facility : {{ $lead->facility->description }}
Purpose : {{ $lead->purpose->description }}
Status : {{ $lead->current_status->description }}
@if(!empty($lead->verify_status_1))
First Verification
Status: @if($lead->verify_status_1 == 'accepted') {{ ucfirst($lead->verify_status_1) }} @elseif($lead->verify_status_1 == 'rejected') {{ ucfirst($lead->verify_status_1) }} @else {{ ucfirst($lead->verify_status_1) }} @endif
Remarks: {{ $lead->verify_remarks_1 ?? '-' }}
Verified By: {{ $lead->verify_by_1 ?? '-' }}
Date/Time: {{ $lead->verify_at_1 ? \Carbon\Carbon::parse($lead->verify_at_1)->format('d/m/Y h:i A') : '-' }}
@if(!in_array($lead->verify_status_1, ['accepted', 'rejected']))
@endif
@endif @if(!empty($lead->verify_status_2))
Second Verification
Status: @if($lead->verify_status_2 == 'accepted') {{ ucfirst($lead->verify_status_2) }} @elseif($lead->verify_status_2 == 'rejected') {{ ucfirst($lead->verify_status_2) }} @else {{ ucfirst($lead->verify_status_2) }} @endif
Remarks: {{ $lead->verify_remarks_2 ?? '-' }}
Verified By: {{ $lead->verify_by_2 ?? '-' }}
Date/Time: {{ $lead->verify_at_2 ? \Carbon\Carbon::parse($lead->verify_at_2)->format('d/m/Y h:i A') : '-' }}
@if(!in_array($lead->verify_status_2, ['accepted', 'rejected']))
@endif @endif

Name of Entity :
{{ optional($lead->applicant)->applicant_name ?? '-' }}
@if(optional($lead->applicant)->applicant_type == 'IND')
NRIC :
{{ optional($lead->applicant)->applicant_nric ?? '-' }}
@else
Date of Registration :
{{ optional($lead->applicant)->applicant_brd ?? '-' }}
Business Registration No. :
{{ optional($lead->applicant)->applicant_brn ?? '-' }}
@endif
Business Address :
{{ optional($lead->applicant)->applicant_address_1 ?? '-' }}
@if(!empty(optional($lead->applicant)->applicant_address_2))
{{ $lead->applicant->applicant_address_2 }}
@endif
{{ optional($lead->applicant)->applicant_postcode ?? '' }} {{ optional($lead->applicant)->applicant_city ?? '' }}@if(optional($lead->applicant->state)->name), {{ optional($lead->applicant->state)->name }}@endif
Telephone Number :
@php $phone = optional($lead->applicant)->applicant_phone; @endphp {{ !empty($phone) ? '+60' . $phone : '-' }}
E-Mail Address :
{{ optional($lead->applicant)->applicant_email ?? '-' }}
Contact Person :
{{ optional($lead->applicant)->contact_name ?? '-' }}
Position :
{{ optional($lead->applicant)->contact_position ?? '-' }}
Telephone Number :
@php $contact_phone = optional($lead->applicant)->contact_phone; @endphp {{ !empty($contact_phone) ? '+60' . $contact_phone : '-' }}
E-Mail Address :
{{ optional($lead->applicant)->contact_email ?? '-' }}

@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, 0, '.', ',') : '-' }}

@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, 0, '.', ',') : '-' }} {{ $contract->payment->description ?? '-' }}

@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, 0, '.', ',') : '-' }}

@foreach($doc_types as $doc) @php $leadDocs = $lead->docs->where('type', $doc->code); $hasDoc = $leadDocs->isNotEmpty(); @endphp @endforeach
Yes No
{{ $doc->description }} @if($hasDoc)
@foreach($leadDocs as $leadDoc) @foreach($leadDoc->files as $file) {{ $file->file_name }} @if(!$loop->last)
@endif @endforeach @if(!$loop->last)
@endif @endforeach @else - @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.

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.
@csrf
@endsection @section('script') @endsection