feat: refs #6629 delete consolelog
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Robert Ferrús 2025-01-10 11:17:01 +01:00
parent 85b3c3033a
commit 5b10a3e60f
1 changed files with 0 additions and 10 deletions

View File

@ -89,8 +89,6 @@ const updateAddress = async (data) => {
const updateAddressTicket = async () => {
urlUpdate.value += '?updateObservations=true';
console.log('gg');
};
const updateObservations = async (payload) => {
@ -100,7 +98,6 @@ const updateObservations = async (payload) => {
toCustomerAddress();
};
async function updateAll({ data, payload }) {
console.log('Si no hay notas modificadas');
await updateAddress(data);
await updateObservations(payload);
}
@ -140,24 +137,17 @@ async function handleDialog(data) {
},
})
.onOk(async () => {
console.log('Actualiza notas');
// await resetAndSend(payload);
await updateAll(body);
await updateAddressTicket();
toCustomerAddress();
})
.onCancel(async () => {
// await resetAndSend(payload);
console.log('Actualiza datos');
await updateAll(body);
toCustomerAddress();
});
// .hide(toCustomerAddress);
} else {
updateAll(body);
toCustomerAddress();
// await resetAndSend(payload);
// toCustomerAddress();
}
}