fix: Remove incorrect client transformation in factures/page.tsx

This commit is contained in:
dahoud
2025-10-15 12:51:26 +00:00
parent b0049c8d88
commit 763ab81da3

View File

@@ -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)
};