@php $leanAskMode = $leanAskMode ?? 'create'; $askLocked = (bool) ($askLocked ?? false); $askAmountLocked = (bool) ($askAmountLocked ?? $askLocked); $askProductLocked = (bool) ($askProductLocked ?? $askAmountLocked); $canUpdateAsk = ! $askLocked || ! $askAmountLocked || ! $askProductLocked; $inFormModal = (bool) ($inFormModal ?? false); @endphp
! $inFormModal, 'lean-ask-sticky-actions--modal shrink-0 px-4' => $inFormModal, ]) data-lean-ask-step="actions">
! $inFormModal, 'flex-col sm:flex-row sm:justify-between' => $inFormModal, ])> @if ($leanAskMode === 'create')

Save draft once client and product are selected. Save application keeps the loan ask; guarantors and security are completed before submit for approval.

@else

@if ($askLocked && $askAmountLocked && $askProductLocked) Loan request is locked at this stage. Open Application 360 to continue workflow actions. @elseif ($askLocked) Term and borrower stay locked. Save to update the amount or product, then continue in Application 360. @else Changes save to the loan ask. Validation errors will appear here if the update is blocked. @endif

@endif
@if ($leanAskMode === 'create') @else @if ($canUpdateAsk) @endif Open Application 360 @endif