@extends('layouts.exat') @section('title', 'Contrats') @section('subtitle', $contrats->total().' contrat(s)') @section('content')
| Numéro | Demande | Planteur | Code planteur | Montant du prêt | Généré le | Documents |
|---|---|---|---|---|---|---|
| {{ $c->numero }} | {{ $c->demande->reference ?? '—' }} | {{ $c->demande->planteur->nom ?? '—' }} | {{ $c->demande->planteur->code ?? '—' }} | {{ $c->demande ? number_format((float) $c->demande->montant, 0, ',', ' ').' FCFA' : '—' }} | {{ $c->date_generation?->format('d/m/Y à H:i') }} | Word PDF |
| Aucun contrat généré. Les contrats se créent depuis une demande validée. | ||||||