add check point price

This commit is contained in:
Kanjana 2025-04-22 11:23:12 +07:00
parent 35ec6cc061
commit 027326a9e4

View file

@ -477,10 +477,13 @@ export class ProductController extends Controller {
? "serviceFee"
: "processingFee",
shared: item.shared === "ใช่" ? true : false,
price: +parseFloat(item.price.replace(",", "")).toFixed(6),
calcVat: item.calcVat === "ใช่" ? true : false,
vatIncluded: item.vatIncluded === "รวม" ? true : false,
agentPrice: +parseFloat(item.agentPrice.replace(",", "")).toFixed(6),
agentPriceCalcVat: item.agentPriceCalcVat === "ใช่" ? true : false,
agentPriceVatIncluded: item.agentPriceVatIncluded === "รวม" ? true : false,
serviceCharge: +parseFloat(item.serviceCharge.replace(",", "")).toFixed(6),
serviceChargeCalcVat: item.serviceChargeCalcVat === "ใช่" ? true : false,
serviceChargeVatIncluded: item.serviceChargeVatIncluded === "รวม" ? true : false,
};