{{-- Same data/save flow as creditpaper/edit.blade.php (posts to the same cp.store route), styled to mirror components.forms.lead-credit-paper's printed layout from CREDIT APPRAISAL through JUSTIFICATIONS. --}} @php $hasPreFactoring = !empty($lead->pre_facility_code); $checklistAnswers = $lead->cp_checklist_answers->keyBy('checklist_item_id'); $contractDetailsItems = $checklistItems['contract_details'] ?? collect(); $managementExperienceItems = $checklistItems['management_experience'] ?? collect(); $financialScreeningItems = $checklistItems['financial_screening'] ?? collect(); $nonFinancialScreeningItems = $checklistItems['non_financial_screening'] ?? collect(); $keyManagements = old('key_managements', $lead->cp_key_managements->toArray()); $creditInfoRows = old('credit_info', $lead->cp_credit_info->toArray()); $borrowingFacilities = old('borrowing_facilities', $lead->cp_borrowing_facilities->toArray()); @endphp @extends('layouts.app') @section('title') Credit Paper Preparation @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Credit Paper @endslot @slot('title') {{ $lead->serial_no }} @endslot @endcomponent
Please review the application details below. Once confirmed, you may proceed to generate the credit paper for this lead.
@if (session('success'))