diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 6f964d6..c621ac5 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -484,7 +484,7 @@ export class QuotationController extends Controller { ); const price = finalPriceWithVat; - const pricePerUnit = p.vatIncluded ? price / (1 + VAT_DEFAULT) : price; + const pricePerUnit = price / (1 + VAT_DEFAULT); const vat = p.calcVat ? (pricePerUnit * v.amount - (v.discount || 0)) * VAT_DEFAULT : 0; return { @@ -751,7 +751,7 @@ export class QuotationController extends Controller { ); const price = finalPriceWithVat; - const pricePerUnit = p.vatIncluded ? price / (1 + VAT_DEFAULT) : price; + const pricePerUnit = price / (1 + VAT_DEFAULT); const vat = p.calcVat ? (pricePerUnit * v.amount - (v.discount || 0)) * VAT_DEFAULT : 0; return {