#6900 fine tunning invoice in #601

Merged
jorgep merged 14 commits from 6900-fineTunning into dev 2024-08-09 10:32:25 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 88b6d7c9ae - Show all commits

View File

@ -130,9 +130,9 @@ onBeforeMount(async () => {
});
onBeforeRouteUpdate(async (to, from) => {
if (to.params.id !== from.params.id) {
invoiceInCorrection.correcting.length = 0;
invoiceInCorrection.corrected = null;
if (to.params.id !== from.params.id) {
await setInvoiceCorrection(to.params.id);
const { data } = await axios.get(`InvoiceIns/${to.params.id}/getTotals`);
totalAmount.value = data.totalDueDay;