This commit is contained in:
parent
f922bcb750
commit
2246792404
|
@ -99,8 +99,8 @@ const updateObservations = async (payload) => {
|
||||||
toCustomerAddress();
|
toCustomerAddress();
|
||||||
};
|
};
|
||||||
async function updateAll({ data, payload }) {
|
async function updateAll({ data, payload }) {
|
||||||
await updateAddress(data);
|
|
||||||
await updateObservations(payload);
|
await updateObservations(payload);
|
||||||
|
await updateAddress(data);
|
||||||
}
|
}
|
||||||
function getPayload() {
|
function getPayload() {
|
||||||
return {
|
return {
|
||||||
|
@ -138,8 +138,8 @@ async function handleDialog(data) {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.onOk(async () => {
|
.onOk(async () => {
|
||||||
await updateAll(body);
|
|
||||||
await updateAddressTicket();
|
await updateAddressTicket();
|
||||||
|
await updateAll(body);
|
||||||
toCustomerAddress();
|
toCustomerAddress();
|
||||||
})
|
})
|
||||||
.onCancel(async () => {
|
.onCancel(async () => {
|
||||||
|
|
Loading…
Reference in New Issue