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

Agreement Verification - {{ $lead->serial_no }}

Review each signed document uploaded by the borrower and accept or reject it individually. Proceeding to disbursement requires every required document to be accepted, with none rejected.

@if (session('success')) @endif @if (session('error')) @endif
@foreach($docTypes as $docType) @php $leadDoc = $leadDocs[$docType->code] ?? null; $hasSigned = $leadDoc && $leadDoc->files->count(); @endphp @continue(!$leadDoc || !$leadDoc->unsigned_file_path) @endforeach
Name Required Unsigned Document Uploaded Document Verified Action
{{ $docType->description }} {{ $docType->required ? 'Yes' : 'No' }} @if($leadDoc && $leadDoc->unsigned_file_path) Download @else - @endif @if($hasSigned) @foreach($leadDoc->files as $file) @endforeach @else No signed copy uploaded by borrower yet. @endif @if($leadDoc && $leadDoc->verify_status_1 == 'accepted') @elseif($leadDoc && $leadDoc->verify_status_1 == 'rejected') @else - @endif @if($leadDoc && $leadDoc->verify_status_1) {{ $leadDoc->verify_by_1 ?? '-' }}
{{ $leadDoc->verify_at_1 ? \Carbon\Carbon::parse($leadDoc->verify_at_1)->format('d/m/Y h:i A') : '-' }}
@endif
@if($hasSigned && !$leadDoc->verify_status_1) @else - @endif
@csrf
@csrf
Back to List
View Related Document
@include('components.forms.related-documents', [ 'application_form' => true, 'term_sheet' => true, 'credit_paper' => true, ])
@csrf
@endsection @section('script') @endsection