From cdd32c56db14b8f28d3c661fa4d14a9640e24211 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 22 Nov 2025 11:12:48 +0100 Subject: [PATCH] =?UTF-8?q?Revisi=C3=B3n=20de=20cambio=20de=20estado=20de?= =?UTF-8?q?=20proformas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controllers/use-change-status-dialog-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts b/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts index c9a9902a..5befb45a 100644 --- a/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts +++ b/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts @@ -44,7 +44,7 @@ export function useChangeStatusDialogController() { setState((s) => ({ ...s, loading: true })); for (const proforma of state.proformas) { - await changeStatus(proforma.id.toString(), state.targetStatus, { + await changeStatus(proforma.id, state.targetStatus, { onError: (err: unknown) => { const error = err as Error; showErrorToast("Error cambiando estado", error.message);