From 1dd57829ec0a35cc81519460f06353dad05b163c Mon Sep 17 00:00:00 2001 From: Matthieu Haineault Date: Tue, 17 Mar 2026 08:01:15 -0400 Subject: [PATCH] fix(csv): minor fix --- src/time-and-attendance/exports/services/csv-builder.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/time-and-attendance/exports/services/csv-builder.service.ts b/src/time-and-attendance/exports/services/csv-builder.service.ts index 95ac769..e0c8ea9 100644 --- a/src/time-and-attendance/exports/services/csv-builder.service.ts +++ b/src/time-and-attendance/exports/services/csv-builder.service.ts @@ -8,7 +8,7 @@ export class CsvGeneratorService { rows: CsvRow[] ): Buffer { const body = rows.map(row => { - const quantity_hours = (typeof row.quantite_hre === 'number' && row.montant !== 0) ? row.quantite_hre.toFixed(2) : ''; + const quantity_hours = (typeof row.quantite_hre === 'number' && row.quantite_hre !== 0) ? row.quantite_hre.toFixed(2) : ''; const amount = (typeof row.montant === 'number' && row.montant !== 0) ? row.montant.toFixed(2) : ''; return [ row.compagnie_no,