@extends('layouts.app') @php use App\Models\Permission; use App\Support\Format; use App\Support\ProcedureChecklist; use App\Support\ProcedureProgress; $canRecord = auth()->user()->hasAnyPermission(Permission::PROPOSAL_CREATE, Permission::PROPOSAL_UPDATE); $isInsurance = $procedure === ProcedureChecklist::NRSIC; $short = $isInsurance ? 'NRSIC' : 'TA procedure'; $clauses = $isInsurance ? 'clauses 8.1 to 8.10' : 'clauses 2.0 to 7.2'; @endphp @section('title', $short.' — '.$proposal->outlet) @section('heading', $short.' — '.$proposal->outlet) @section('subheading', ProcedureChecklist::procedureLabel($procedure).', '.$clauses) @section('actions') {{-- The two procedures run off the same records, so they sit side by side. --}}
Back to the proposal @endsection @section('content') {{-- ---------------------------------------------------------------- --}} {{-- Where the procedure stands --}} {{-- ---------------------------------------------------------------- --}}Deadlines count working days, Monday to Friday, from the step before — public holidays are not allowed for, so a due date is the earliest the deadline can fall.
@endsection