@php $stageName = $stageName ?? 'Final Planning'; $stageRoute = $stageRoute ?? 'final-planning'; $nextStageRoute = $nextStageRoute ?? null; $nextStageParam = $nextStageParam ?? null; $nextStageLabel = $nextStageLabel ?? null; @endphp Preview {{ $stageName }} - {{ $planning->no_planning }} ({{ $planning->vessel }}) - PT. APS
{{-- ACTION BAR (NO PRINT) --}}
Kembali | Dokumen {{ $stageName }}: {{ $planning->no_planning }}
{{-- Status Badge --}} @if($planning->status === 'scheduled') Scheduled @elseif($planning->status === 'in_progress') In Progress @elseif($planning->status === 'completed') Completed @else Draft @endif @if(!empty($nextStageRoute) && !empty($nextStageParam)) {{ $nextStageLabel }} @endif Edit
{{-- ==================== DOKUMEN CETAK UTAMA ==================== --}}
@if(request('print')) @endif