diff --git a/client/src/pages/PaymentSchedulePage.tsx b/client/src/pages/PaymentSchedulePage.tsx index 042fa8b..886aa1b 100644 --- a/client/src/pages/PaymentSchedulePage.tsx +++ b/client/src/pages/PaymentSchedulePage.tsx @@ -212,7 +212,7 @@ export default function PaymentSchedulePage() { const url = window.URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; - a.download = `echeancier_${selectedMonth}.xlsx`; + a.download = `echeancier_${selectedMonth}.csv`; document.body.appendChild(a); a.click(); window.URL.revokeObjectURL(url); @@ -221,7 +221,7 @@ export default function PaymentSchedulePage() { setShowExportModal(false); toast({ title: "Export réussi", - description: "Le fichier Excel a été téléchargé avec succès.", + description: "Le fichier CSV a été téléchargé avec succès. Ouvrez-le dans Excel.", }); } catch (error) { console.error('Erreur export:', error); @@ -303,10 +303,10 @@ export default function PaymentSchedulePage() { variant="outline" className="gap-2" disabled={filteredSchedules.length === 0} - data-testid="button-export-excel" + data-testid="button-export-csv" > - Exporter Excel + Exporter CSV