@extends('charter-hire.layout') @section('body') @if($finance) Finance · Charter hire evidence
Finance · Billing handoff

Executed CPA invoicing queue

Approved agreements appear here for invoice preparation. After acknowledging receipt you can explicitly prepare a draft from the approved CPA and issued On-Hire evidence. Nothing is issued or posted automatically.

@else Charter Hire & Certification Centre
Chartering · Signed agreements

Executed Charter Party Agreements

Register a PDF signed by the owner and charterer. If signatures are on separate counterparts, combine them into one PDF before submitting. The signed source document is preserved without changing its contents.

@endif @if($charter && $companies->isNotEmpty())

Upload · {{ $charter->charter_no }}

@csrf
@elseif(!$finance)

Open an individual charter and choose Executed CPA to upload.

@endif @forelse($rows as $cpa)

{{ $cpa->charter_ref }} · {{ $cpa->vessel_name }}

{{ $cpa->reference }} · {{ ucfirst($cpa->state) }} · Signed {{ $cpa->executed_on->format('d M Y') }}

{{ $cpa->owner_name }} / {{ $cpa->charterer_name }} · {{ $cpa->currency ?? 'Currency not recorded' }}

Provided by {{ \App\CharterHire\ExecutedCpa::SOURCES[$cpa->provided_by] }}

@if($cpa->review_signature)

Reviewed and signed by {{ $cpa->review_signature }} · {{ $cpa->reviewed_at?->format('d M Y H:i') }}

@endif @if($cpa->billing_notes)

Billing notes · {{ $cpa->billing_notes }}

@endif @if($cpa->review_notes && $cpa->state === 'returned')

Returned · {{ $cpa->review_notes }}

@endif @if($visibleOutputs && $cpa->output_id)

Open in Controlled Outputs

@elseif($visibleOutputs && !$finance && $cpa->state === 'submitted' && \App\CharterHire\Access::allows(auth()->user(),$cpa->company_id,'make','legal','executive'))
@csrf
@endif @php($hire = $onHire->get($cpa->company_id.':'.$cpa->charter_party_id)) @if($finance && $hire?->output_id && $visibleOutputs)

Open linked On-Hire evidence

@endif @if($finance && $cpa->state === 'received' && !$hire)

Awaiting an issued On-Hire Certificate before draft invoicing.

@endif @if($finance && $cpa->state === 'received' && $hire)
@endif @if($finance && $cpa->state === 'forwarded')
@csrf
@elseif(!$finance && $cpa->state === 'submitted' && (int)$cpa->assigned_reviewer_id === (int)auth()->id() && \App\CharterHire\Access::allows(auth()->user(),$cpa->company_id,'legal','executive'))
@csrf @if($cpa->output_id)@endif
@endif
@empty

No executed agreements match your scope.

@endforelse @endsection