From 95aee693ea977a004aef88039ba25a081fe9f480 Mon Sep 17 00:00:00 2001 From: Manus Date: Sun, 12 Apr 2026 15:20:13 -0400 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Apprentissage=20d=C3=A9clench?= =?UTF-8?q?=C3=A9=20depuis=20le=20select=20Abonnement=20(OUI/NON)=20dans?= =?UTF-8?q?=20la=20liste=20Factures=20(Invoices.tsx).=20Correction=20du=20?= =?UTF-8?q?commentaire=20erron=C3=A9=20dans=20InvoiceDetail.tsx.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/Invoices.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/client/src/pages/Invoices.tsx b/client/src/pages/Invoices.tsx index c16deb2..1c84f0a 100644 --- a/client/src/pages/Invoices.tsx +++ b/client/src/pages/Invoices.tsx @@ -115,6 +115,8 @@ export default function Invoices() { }, }); + const upsertLearningMutation = trpc.learnings.upsert.useMutation(); + const updateFieldMutation = trpc.invoices.update.useMutation({ onSuccess: () => { toast.success("Facture mise à jour"); @@ -503,9 +505,19 @@ export default function Invoices() {