From 38eb18a59313808342d029739a6fc38f7fad26d3 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 11 Oct 2024 14:17:39 +0700 Subject: [PATCH] refactor: make vat included --- src/pages/05_quotation/QuotationFormInfo.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/05_quotation/QuotationFormInfo.vue b/src/pages/05_quotation/QuotationFormInfo.vue index 224ef5c8..9c6dfab7 100644 --- a/src/pages/05_quotation/QuotationFormInfo.vue +++ b/src/pages/05_quotation/QuotationFormInfo.vue @@ -484,6 +484,16 @@ watch( ฿ +
+ {{ + $t('general.vat', { + msg: `${config && Math.round(config.vat * 100)}%`, + }) + }} + + {{ formatNumberDecimal(summaryPrice.vat, 2) }} ฿ + +
{{ $t('general.totalVatIncluded') }} @@ -498,16 +508,6 @@ watch( ฿
-
- {{ - $t('general.vat', { - msg: `${config && Math.round(config.vat * 100)}%`, - }) - }} - - {{ formatNumberDecimal(summaryPrice.vat, 2) }} ฿ - -
{{ $t('general.discountAfterVat') }}