.
This commit is contained in:
parent
1167f5bc14
commit
aaaf92b6e5
@ -37,6 +37,7 @@ export function UnsavedChangesProvider({
|
||||
}, []);
|
||||
|
||||
const handleConfirm = (ok: boolean) => {
|
||||
console.log("handleConfirm");
|
||||
resolver?.(ok);
|
||||
setResolver(null);
|
||||
setOpen(false);
|
||||
|
||||
@ -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);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user