@extends('charter-hire.layout')
@section('body')
@if($finance)
Finance · Charter hire evidence
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. 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.Executed CPA invoicing queue
Executed Charter Party Agreements
Upload · {{ $charter->charter_no }}
Open an individual charter and choose Executed CPA to upload.
@endif @forelse($rows as $cpa){{ $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) @elseif($visibleOutputs && !$finance && $cpa->state === 'submitted' && \App\CharterHire\Access::allows(auth()->user(),$cpa->company_id,'make','legal','executive')) @endif @php($hire = $onHire->get($cpa->company_id.':'.$cpa->charter_party_id)) @if($finance && $hire?->output_id && $visibleOutputs) @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') @elseif(!$finance && $cpa->state === 'submitted' && (int)$cpa->assigned_reviewer_id === (int)auth()->id() && \App\CharterHire\Access::allows(auth()->user(),$cpa->company_id,'legal','executive')) @endifNo executed agreements match your scope.
@endforelse @endsection