Revisión de cambio de estado de proformas
This commit is contained in:
parent
743ced358d
commit
cdd32c56db
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user