| N° Facture | {{ $invoice->number }} |
|---|---|
| Client | {{ $invoice->customer->name }} |
| Téléphone | {{ $invoice->customer->phone ?? 'Non renseigné' }} |
| {{ $invoice->customer->email ?? 'Non renseigné' }} | |
| Date de facturation | {{ $invoice->creation_date->translatedFormat('d F Y') }} |
| Abonnement | @php $types = [ 'monthly' => 'Mensuel', 'quarterly' => 'Trimestriel', 'biannual' => 'Semestriel', 'annual' => 'Annuel', ]; @endphp {{ $types[$invoice->subscription->type] ?? $invoice->subscription->type }} |
| Échéance abonnement | {{ $invoice->subscription->end_date->translatedFormat('d F Y') }} |
| Entreprise | {{ $invoice->company->name ?? 'LOGEX' }} |
Déjà payé : {{ number_format($invoice->total_paid, 0, ',', ' ') }} F CFA
@endif📎 La facture est jointe à ce mail en pièce jointe.