+
+ {{ $t('general.total') }}
+
+ ฿
+ {{ formatNumberDecimal(data.totalPrice, 2) || '0.00' }}
-
- {{ $t('quotation.discountList') }}
-
- ฿
- {{ formatNumberDecimal(data.totalDiscount, 2) || '0.00' }}
-
+
+
+ {{ $t('quotation.discountList') }}
+
+ ฿
+ {{ formatNumberDecimal(data.totalDiscount, 2) || '0.00' }}
-
- {{ $t('general.totalAfterDiscount') }}
-
- ฿
- {{
- formatNumberDecimal(
- data.totalPrice - data.totalDiscount,
- 2,
- ) || '0.00'
- }}
-
-
-
- {{ $t('general.totalVatExcluded') }}
-
- ฿ {{ formatNumberDecimal(data.vatExcluded, 2) || '0.00' }}
-
-
-
+
+
+ {{ $t('general.totalAfterDiscount') }}
+
+ ฿
{{
- $t('general.vat', {
- msg: `${config && Math.round(config.vat * 100)}%`,
+ formatNumberDecimal(data.totalPrice - data.totalDiscount, 2) ||
+ '0.00'
+ }}
+
+
+
+ {{ $t('general.totalVatExcluded') }}
+
+ ฿ {{ formatNumberDecimal(data.vatExcluded, 2) || '0.00' }}
+
+
+
+ {{
+ $t('general.vat', {
+ msg: `${config && Math.round(config.vat * 100)}%`,
+ })
+ }}
+
+ ฿ {{ formatNumberDecimal(data.vat, 2) || '0.00' }}
+
+
+
+ {{ $t('general.totalVatIncluded') }}
+
+ ฿
+ {{
+ formatNumberDecimal(
+ data.totalPrice - data.totalDiscount + data.vat,
+ 2,
+ ) || '0.00'
+ }}
+
+
+
+ {{ $t('general.discountAfterVat') }}
+
+ ฿ {{ formatNumberDecimal(data.discount, 2) || '0.00' }}
+
+
+
+
+
+
+ {{ $t('quotation.totalPriceBaht') }}:
+
+ {{ formatNumberDecimal(data.finalPrice, 2) || '0.00' }}
+
+
+
+
+
+
+