{{-- Breadcrumb --}}
{{-- ── Left Column ── --}}
{{-- Contract Header Card --}}

{{ $contract->name }}

{{ $contract->client_name }}

{{-- Key Metrics --}}

Début

{{ $contract->start_date->format('d/m/Y') }}

Fin

{{ $contract->end_date->format('d/m/Y') }}

@if($contract->end_date->isPast()) Expiré @elseif($contract->end_date->diffInDays(now()) <= 30) Bientôt @endif

Montant

@if($contract->amount)

{{ number_format($contract->amount, 2, ',', ' ') }} €

@else

Non défini

@endif

Créé le

{{ $contract->created_at->format('d/m/Y') }}

@if($contract->notes)

Notes

{{ $contract->notes }}

@endif
{{-- Documents Card --}}

Documents

{{-- Contract PDF --}}

Contrat PDF

@if($contract->pdf_contract_path)

{{ basename($contract->pdf_contract_path) }}

@else

Aucun fichier

@endif
@if($contract->pdf_contract_path) Télécharger @endif
@csrf
{{-- Quote PDF --}}

Devis PDF

@if($contract->pdf_quote_path)

{{ basename($contract->pdf_quote_path) }}

@else

Aucun fichier

@endif
@if($contract->pdf_quote_path) Télécharger @endif
@csrf
{{-- ── Right Column ── --}}
{{-- Actions --}} {{-- Status --}}

Changer le statut

@foreach(\App\Models\Contract::STATUSES as $status)
@csrf @method('PATCH')
@endforeach
{{-- Actions --}}

Actions

Retour à la liste

Confirmer la suppression ?

Cette action est irréversible.

@csrf @method('DELETE')