{{-- Prepared By & Checked By (readonly); submit shown on this page --}} @php // PC-IV / PC-V: numbered final step from wizard counter. PC-III: unnumbered title. if ($pciIsPcV ?? false) { $pciSigStepTitle = ((int) ($pciWizardStep ?? 1)) . '. Signatures & submit'; } elseif ($pciIsPcIv ?? false) { $pciSigStepTitle = ((int) ($pciWizardStep ?? 1)) . '. Signatures & submit'; } elseif ($pciIsPcIii ?? false) { $pciSigStepTitle = 'Signatures & submit'; } elseif (! empty($pciSigStepTitleOverride)) { $pciSigStepTitle = $pciSigStepTitleOverride; } else { $pciSigStepTitle = (17 + (int) ($pciIiWizardTitleBump ?? 0) + (int) ($pciIiTfWizardTitleBump ?? 0) + (int) ($pciIiOutcomeWizardTitleBump ?? 0)) . '. Signatures & submit'; } @endphp
Checker signatures appear here after review actions in the workflow.
@else @php $emptySignature = ['name' => '—', 'designation' => '—', 'department' => '—', 'date' => '—', 'signature_image' => null, 'signature_image_url' => '', 'signature_display_url' => '', 'preparer_user_id' => null]; $checkedByList = $checkedByList ?? []; $checkedSlots = max(0, (int) ($signatureCounts['required_checks'] ?? count($checkedByList))); @endphpApprover signatures appear here after approval actions in the workflow.
@else @php $approvedByList = $approvedByList ?? []; $approvedSlots = max(0, (int) ($signatureCounts['department_required_approvals'] ?? count($approvedByList))); @endphp