@extends('charter-hire.layout') @section('body')
{{ $mode === 'finance' ? 'Accounts · Billing Evidence' : ($mode === 'vessel' ? 'Fleet Operations' : 'Chartering & Legal') }}

{{ ['register'=>'Charter Hire & Certification Centre','finance'=>'Charter hire evidence','vessel'=>'Charter hire evidence · '.($vessel->name ?? '')][$mode] }}

@if($mode === 'register')

{{ $charter ? 'Working on '.$charter->charter_no.'. Follow the approvals and signature status from this workspace.' : 'Create a certificate, follow its approvals, and hand signed charter documents to Accounts from one place.' }}

@if($charter && $companies->isNotEmpty() && auth()->user()->can('update',$charter)) New certificate @elseif($links['contract']) Choose a charter @endif @if($links['cpa'])Executed CPA register@endif @if($links['finance'])Accounts invoicing queue@endif
@elseif($mode === 'finance')

Review effective times, issued certificates and recorded exceptions before invoicing.

Executed CPA invoicing queue @else

Issued charter events only. Vessel operational status is maintained separately.

@endif
@if($mode === 'register')
{{ $workbench['mine'] }}My next actions Reviews, invitations and issuance {{ $workbench['signing'] }}Awaiting charterer signature {{ $workbench['issued'] }}Issued certificates
@elseif($mode === 'finance') @if($selected)

Recorded time reconciliation

@if($summary)

Delivery to redelivery: {{ number_format($summary['elapsed_seconds']/3600, 2) }} hours · Recorded off-hire: {{ number_format($summary['recorded_off_hire_seconds']/3600, 2) }} hours

@else

A complete issued hire sequence is not available within your company scope.

@endif Show all charters
@endif @endif @if($charter && $companies->isNotEmpty() && auth()->user()->can('update', $charter))
New certificate

Submit for review · {{ $charter->charter_no }}

@csrf
Remaining on board (required for bunker certificates)
@endif

{{ !empty($filters['mine']) ? 'My next actions' : 'Certificate register' }}

@if($mode === 'register')
@if($charter)@endif
Clear filters
@endif
@forelse($rows as $row) @empty@endforelse
NumberTypeVessel and charterEffective timeStatus
@if($mode === 'register'){{ $row->number }}@else{{ $row->number }}@endif{{ \App\CharterHire\Rules::TYPES[$row->kind] }}{{ $row->snapshot['vessel'] }} · @if($mode === 'finance'){{ $row->snapshot['contract'] }}@else{{ $row->snapshot['contract'] }}@endif{{ $row->snapshot['effective_at'] }}{{ \App\CharterHire\Workbench::STATUS[$row->state] ?? $row->state }}
No matching certification records.
@endsection