diff --git a/models/baseModels/Invoice/Invoice.ts b/models/baseModels/Invoice/Invoice.ts index f8f5f6eb..c3a2756a 100644 --- a/models/baseModels/Invoice/Invoice.ts +++ b/models/baseModels/Invoice/Invoice.ts @@ -256,7 +256,7 @@ export abstract class Invoice extends Transactional { }; let amount = item.amount!; - if (this.enableDiscounting && !this.discountAfterTax) { + if (this.enableDiscounting && !this.discountAfterTax && !item.itemDiscountedTotal?.isZero()) { amount = item.itemDiscountedTotal!; }