@php $askLocked = (bool) ($askLocked ?? false); $askAmountLocked = (bool) ($askAmountLocked ?? $askLocked); $askProductLocked = (bool) ($askProductLocked ?? $askAmountLocked); $askLockReason = $askLockReason ?? null; $correctionUrl = isset($application) && $application ? route('loan.book.applications.show', $application) : null; @endphp @if ($askLocked && $askAmountLocked && $askProductLocked)
Loan request is locked
{{ $askLockReason ?? 'Ask fields cannot be edited at this workflow stage.' }}
@if ($correctionUrl) Open Application 360 @endifAmount and product can be revised
{{ $askLockReason ?? 'Term and borrower stay locked. Update the amount or product, then continue the workflow.' }}
@if ($correctionUrl) Open Application 360 @endif