This commit is contained in:
David Arranz 2026-04-12 22:06:30 +02:00
parent 1167f5bc14
commit aaaf92b6e5
3 changed files with 3 additions and 3 deletions

View File

@ -37,6 +37,7 @@ export function UnsavedChangesProvider({
}, []);
const handleConfirm = (ok: boolean) => {
console.log("handleConfirm");
resolver?.(ok);
setResolver(null);
setOpen(false);

View File

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

View File

@ -37,7 +37,7 @@ export const ProformaUpdateEditorForm = ({
const { t } = useTranslation();
return (
<form className="space-y-6" onSubmit={onSubmit}>
<form className="space-y-6" id={formId} onSubmit={onSubmit}>
<ProformaUpdateHeaderEditor disabled={isSubmitting} />
<ProformaUpdateRecipientEditor