{{-- Display all unique awarder names as "a, b, c, and d" --}} @php $awarderNames = $lead->contracts->pluck('awarder_name')->filter()->unique()->values(); $awarderCount = $awarderNames->count(); @endphp @extends('layouts.app') @section('title') Credit Committee Approval @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Credit Paper @endslot @slot('title') {{ $lead->serial_no }} @endslot @endcomponent

Credit Committee Approval - {{ $lead->serial_no }}

Please review the application details below.

@if (session('success')) @endif @if (session('error')) @endif @if(!empty($lead->cc_reject_remarks))
Reject Notes:
{{ $lead->cc_reject_remarks }}
@endif
View Related Document
@include('components.forms.related-documents', [ 'application_form' => true, 'term_sheet' => true, 'credit_paper' => true, ])
CREDIT COMMITTEE APPROVAL
@if(!empty($lead->cc_verify_status_1))
First Approval
Approved By: {{ $lead->cc_verify_by_1 ?? '-' }}
Date/Time: {{ $lead->cc_verify_at_1 ? \Carbon\Carbon::parse($lead->cc_verify_at_1)->format('d/m/Y h:i A') : '-' }}
@endif @if(!empty($lead->cc_verify_status_2))
Second Approval
Approved By: {{ $lead->cc_verify_by_2 ?? '-' }}
Date/Time: {{ $lead->cc_verify_at_2 ? \Carbon\Carbon::parse($lead->cc_verify_at_2)->format('d/m/Y h:i A') : '-' }}
@else
@if(!empty($lead->cc_verify_status_1))

First approval recorded. A second reviewer must accept before this lead can proceed.

@endif
@endif
@endsection @section('script') @endsection