@php /** @var \App\Models\ExceptionList $exceptionList */ $currentType = strtoupper((string)old('type', $exceptionList->type ?? ($exceptionList->isTypeC() ? 'C' : ($exceptionList->isTypeB() ? 'B' : 'A')))); if (!in_array($currentType, ['A', 'B', 'C'])) { $currentType = 'A'; } $isTypeC = $currentType === 'C'; $isTypeB = $currentType === 'B'; $isTypeA = $currentType === 'A'; $currentOpType = strtolower((string)old('operation_type', $exceptionList->operation_type ?? 'discharging')); $sheets = old('sheets', $exceptionList->resolved_sheets); @endphp @if(isset($errors) && $errors->any())
Periksa kembali isian formulir: