@extends('charter-hire.layout') @section('body')
Certificate record

{{ \App\CharterHire\Rules::TYPES[$row->kind] }}

{{ $row->number }} · {{ $row->snapshot['vessel'] }} · {{ $row->snapshot['contract'] }}

{{ \App\CharterHire\Workbench::STATUS[$row->state] ?? $row->state }}

Progress

    @foreach(['technical','hse','legal','executive','awaiting_signature','signed','issued'] as $stage)
  1. state === $stage) aria-current="step" @endif>{{ \App\CharterHire\Workbench::STATUS[$stage] }}
  2. @endforeach
@if($evidenceLinks || $output)

Linked ERP records

@foreach($evidenceLinks as [$label,$url]){{ $label }}@endforeach @if($output)Request controlled PDF access@endif
@endif

Certificate particulars

@if(!empty($row->snapshot['nue_logo']))NUE Offshore Resources@endif @include('charter-hire.snapshot')
@if($review && (int)$row->maker_id !== (int)auth()->id())

{{ ucfirst($row->state) }} review

Approval attests to the exact snapshot shown above. Use Return to record a required correction.

@csrf
@endif @if($executive && $row->state === 'awaiting_signature')

Charterer signature

Send the private signing link to the designated charterer representative at {{ $row->signer_email }}. Sending again invalidates the previous link.

@csrf
@endif @if($executive && $row->state === 'signed')

Issue final certificate

@csrf
@endif @if($executive && in_array($row->state, ['awaiting_signature','signed','issued'],true))

{{ $row->state === 'issued' ? 'Void issued certificate' : 'Withdraw for correction' }}

@csrf
@endif

Audit trail

@foreach($events as $event)@endforeach
ActionActorRecorded at (server time)Notes
{{ ucfirst(str_replace('_',' ',$event->action)) }}{{ $event->actor_name }}{{ $event->created_at }}{{ data_get(json_decode($event->details, true), 'reason') }}

Snapshot SHA-256 · {{ $row->snapshot_hash }}

@endsection