Revisión de cambio de estado de proformas

This commit is contained in:
David Arranz 2025-11-22 11:12:48 +01:00
parent 743ced358d
commit cdd32c56db

View File

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