🔔 Rappel de Paiement

⚠️ Rappel : La facture {{ $invoice->number }} de {{ $invoice->customer->name }} doit être réglée @if($daysRemaining == 0) AUJOURD'HUI @elseif($daysRemaining == 1) DEMAIN @elseif($daysRemaining == 2) dans 2 jours @else dans {{ $daysRemaining }} jours @endif

📋 Détails de la facture

@if($invoice->subscription) @endif
N° Facture {{ $invoice->number }}
Client {{ $invoice->customer->name }}
Téléphone {{ $invoice->customer->phone ?? 'Non renseigné' }}
Email {{ $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' }}
Montant à régler : {{ number_format($invoice->remaining_balance, 0, ',', ' ') }} F CFA
@if($invoice->total_paid > 0)

Déjà payé : {{ number_format($invoice->total_paid, 0, ',', ' ') }} F CFA

@endif

📎 La facture est jointe à ce mail en pièce jointe.