From 763ab81da37cecc68451f4aec32c3734463ff61b Mon Sep 17 00:00:00 2001 From: dahoud Date: Wed, 15 Oct 2025 12:51:26 +0000 Subject: [PATCH] fix: Remove incorrect client transformation in factures/page.tsx --- app/(main)/factures/page.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/(main)/factures/page.tsx b/app/(main)/factures/page.tsx index 4d1c05e..a8503a4 100644 --- a/app/(main)/factures/page.tsx +++ b/app/(main)/factures/page.tsx @@ -195,7 +195,6 @@ const FacturesPage = () => { let updatedFactures = [...factures]; const factureToSave = { ...facture, - client: facture.client ? { id: facture.client } : null, // Envoyer seulement l'ID du client montantTTC: facture.montantHT * (1 + facture.tauxTVA / 100) };