Contract: {{ $contract->contract_number }} Contract Management

{{ $contract->contract_number }}

{{ strtoupper($contract->status) }} Awarded to {{ $contract->supplier->name }}
Agreement & Terms
Total Value
{{ $contract->currency }} {{ number_format($contract->contract_value, 2) }}
Signed Date
{{ $contract->signed_at?->format('M d, Y') ?? 'Not Signed' }}
Status
{{ ucfirst($contract->status) }}
Commencement Date
{{ $contract->start_date?->format('M d, Y') ?? 'Immediate' }}
Expiry Date
{{ $contract->end_date?->format('M d, Y') ?? 'Continuous' }}
Contracting Notes / Special Conditions
{{ $contract->notes ?? 'Standard organizational terms apply.' }}
Contractual Audit Trail

This trail logs all legal changes to this contract.

Contract Awarded
{{ $contract->created_at->format('M d, Y H:i') }}
Execution
Track Delivery @can('submitInvoice', $contract) @endcan
Supplier Dossier
{{ $contract->supplier->name }}
TIN: {{ $contract->supplier->tin_number ?? 'N/A' }}
Email
{{ $contract->supplier->email }}
Phone
{{ $contract->supplier->phone }}

View Full Performance History
Linked Procurement
{{ $contract->procurement->reference }}
{{ $contract->procurement->title }}
Back to Dossier
{{-- Invoices Section --}}
Invoices
@forelse ($contract->invoices as $invoice) @empty @endforelse
Invoice # Amount Due Date Status Submitted On Action
{{ $invoice->invoice_number }} {{ $invoice->currency }} {{ number_format($invoice->amount, 2) }} {{ $invoice->due_date->format('M d, Y') }} {{ ucfirst(str_replace('_', ' ', $invoice->status)) }} {{ $invoice->created_at->format('M d, Y') }} View
No invoices submitted yet.
{{-- ══ CONTRACT VERSIONS (VC-2 / VC-3) ══════════════════════════════════════ --}}
Contract Versions VC-2 / VC-3
@if(!$contract->is_frozen) @else Contract Frozen @endif
@if($contract->versions->isEmpty())

No versions recorded. A v1.0 draft should have been created automatically (VC-2).

@else
@foreach($contract->versions as $v) @endforeach
VersionStatusNotesCreated ByDateAction
{{ $v->version_label }} {{ ucfirst($v->status) }} {{ $v->notes ?? '—' }} {{ $v->creator->name ?? '—' }} {{ $v->created_at->format('M d, Y') }} @if(!$v->is_frozen && !$contract->is_frozen)
@csrf
@else {{ $v->is_frozen ? 'Frozen' : '—' }} @endif
@endif
{{-- ══ CONTRACT REGISTRATION (VC-4) ══════════════════════════════════════════ --}} @if(!$contract->registered_at)
Register Contract VC-4

Assign a formal registration reference to this contract for official record-keeping.

@csrf
@else
Registered (VC-4): {{ $contract->registration_reference }} on {{ $contract->registered_at->format('M d, Y') }}
@endif {{-- ══ HANDOVER CONFIRMATION ═══════════════════════════════════════════════════ --}} @if(!$contract->handover_confirmed)
Confirm Contract Handover

Record the department that received the executed contract.

@csrf
@else
Handed over to: {{ $contract->handover_dept }} on {{ $contract->handover_confirmed_at?->format('M d, Y') }}
@endif {{-- Submit Invoice Modal --}} {{-- New Version Modal --}}