Contract Value
${{ number_format($contract->contract_price ?? 0) }}
@if($contract->signed_date)
Signed {{ $contract->signed_date->format('d M Y') }}
@endif
Actions
@can('office_admin')
@if(!in_array($contract->status, ['completed', 'cancelled']))
Edit Contract
@endif
@endcan
@if($contract->status === 'draft')
@endif
@if(in_array($contract->status, ['sent', 'draft']))
@endif
{{-- Payment buttons — each with confirmation modal --}}
@if(! $contract->deposit_paid && in_array($contract->status, ['signed', 'deposit_paid', 'in_progress']))
@endif
@if(! $contract->cm_paid && $contract->deposit_paid)
@endif
@if(! $contract->delivery_paid && $contract->cm_paid)
@endif
@if(! $contract->completion_paid && $contract->delivery_paid)
@endif
@if(!in_array($contract->status, ['completed', 'cancelled']))
@if($contract->status === 'draft')
@endif
@endif
@include('partials.document-panel', [
'documents' => $contract->documents,
'documentableType' => 'Contract',
'documentableId' => $contract->id,
])