@php $previewContext = $previewContext ?? 'user'; $previewExcludedIds = $previewExcludedIds ?? []; if (old('excluded_project_ids') !== null) { $previewExcludedIds = array_map('intval', (array) old('excluded_project_ids')); } $previewDepartmentField = $previewDepartmentField ?? 'department_ids'; $previewVisible = $previewVisible ?? true; @endphp @if ($previewVisible)
Uses the same project authorization as Scheme and Project Allocation. When a block is assigned (or filtered in the table), preview matches navbar block selection for that block.