diff --git a/src/pages/05_quotation/QuotationFormInfo.vue b/src/pages/05_quotation/QuotationFormInfo.vue index 0664f46f..248f6c98 100644 --- a/src/pages/05_quotation/QuotationFormInfo.vue +++ b/src/pages/05_quotation/QuotationFormInfo.vue @@ -455,14 +455,7 @@ watch(
{{ $t('general.total') }} - {{ - formatNumberDecimal( - summaryPrice.finalPrice + - summaryPrice.totalDiscount + - Number(finalDiscount), - 2, - ) || 0 - }} + {{ formatNumberDecimal(summaryPrice.totalPrice, 2) }} ฿
@@ -477,7 +470,7 @@ watch( {{ formatNumberDecimal( - summaryPrice.finalPrice + Number(finalDiscount), + summaryPrice.totalPrice - summaryPrice.totalDiscount, 2, ) }} @@ -487,14 +480,7 @@ watch(
{{ $t('general.totalVatExcluded') }} - {{ - formatNumberDecimal( - summaryPrice.finalPrice + - Number(finalDiscount) - - Number(summaryPrice.vat), - 2, - ) || 0 - }} + {{ formatNumberDecimal(0, 2) || 0 }} ฿
@@ -503,9 +489,9 @@ watch( {{ formatNumberDecimal( - summaryPrice.finalPrice + Number(finalDiscount), + summaryPrice.totalPrice - summaryPrice.totalDiscount, 2, - ) || 0 + ) }} ฿ @@ -517,7 +503,7 @@ watch( }) }} - {{ formatNumberDecimal(summaryPrice.vat || 0, 2) }} ฿ + {{ formatNumberDecimal(summaryPrice.vat, 2) }} ฿