diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index c621ac5..4224e45 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -512,9 +512,7 @@ export class QuotationController extends Controller { a.vat = precisionRound(a.vat + c.vat); a.vatExcluded = c.vat === 0 - ? precisionRound( - a.vatExcluded + (c.pricePerUnit * c.amount - (c.discount || 0)) * VAT_DEFAULT, - ) + ? precisionRound(a.vatExcluded + (c.pricePerUnit * c.amount - (c.discount || 0))) : a.vatExcluded; a.finalPrice = precisionRound( Math.max(a.totalPrice - a.totalDiscount + a.vat - (body.discount || 0), 0),