diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 0cfe7c8b..5e11b252 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -253,7 +253,7 @@ function getPrice( a.vat = c.product.calcVat ? precisionRound(a.vat + vat) : a.vat; a.vatExcluded = c.product.calcVat ? a.vatExcluded - : precisionRound(a.vat + vat); + : precisionRound(a.vatExcluded + vat); a.finalPrice = precisionRound( a.totalPrice - a.totalDiscount + diff --git a/src/pages/05_quotation/preview/ViewForm.vue b/src/pages/05_quotation/preview/ViewForm.vue index 0906e3d7..636d32d9 100644 --- a/src/pages/05_quotation/preview/ViewForm.vue +++ b/src/pages/05_quotation/preview/ViewForm.vue @@ -264,7 +264,7 @@ onMounted(async () => { a.vat = c.product.calcVat ? precisionRound(a.vat + vat) : a.vat; a.vatExcluded = c.product.calcVat ? a.vatExcluded - : precisionRound(a.vat + vat); + : precisionRound(a.vatExcluded + vat); a.finalPrice = precisionRound( a.totalPrice - a.totalDiscount +