diff --git a/modules/core/src/web/hooks/use-unsaved-changes-notifier/use-unsaved-changes-notifier.tsx b/modules/core/src/web/hooks/use-unsaved-changes-notifier/use-unsaved-changes-notifier.tsx index f8701642..e9e29a58 100644 --- a/modules/core/src/web/hooks/use-unsaved-changes-notifier/use-unsaved-changes-notifier.tsx +++ b/modules/core/src/web/hooks/use-unsaved-changes-notifier/use-unsaved-changes-notifier.tsx @@ -37,6 +37,7 @@ export function UnsavedChangesProvider({ }, []); const handleConfirm = (ok: boolean) => { + console.log("handleConfirm"); resolver?.(ok); setResolver(null); setOpen(false); diff --git a/modules/customer-invoices/src/web/proformas/update/controllers/use-update-proforma-page-controller.ts b/modules/customer-invoices/src/web/proformas/update/controllers/use-update-proforma-page-controller.ts index 9a3c4a8f..880de470 100644 --- a/modules/customer-invoices/src/web/proformas/update/controllers/use-update-proforma-page-controller.ts +++ b/modules/customer-invoices/src/web/proformas/update/controllers/use-update-proforma-page-controller.ts @@ -13,8 +13,7 @@ export const useUpdateProformaPageController = () => { defaultCurrencyCode: updateCtrl.form.watch("currencyCode"), onCustomerSelected: (customer) => { console.log(customer); - alert("cliente seleccionado"); - //updateCtrl.setCustomer(customer); + updateCtrl.setCustomer(customer); }, }); diff --git a/modules/customer-invoices/src/web/proformas/update/ui/editors/proforma-update-editor-form.tsx b/modules/customer-invoices/src/web/proformas/update/ui/editors/proforma-update-editor-form.tsx index 1d3e2d7c..223629c5 100644 --- a/modules/customer-invoices/src/web/proformas/update/ui/editors/proforma-update-editor-form.tsx +++ b/modules/customer-invoices/src/web/proformas/update/ui/editors/proforma-update-editor-form.tsx @@ -37,7 +37,7 @@ export const ProformaUpdateEditorForm = ({ const { t } = useTranslation(); return ( -
+