Skip to content

Commit

Permalink
fix: calculate tax amount after applying discount
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Jan 9, 2025
1 parent ed0ae36 commit 0d4d917
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/POS/KeyboardModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,10 @@ export default defineComponent({
);
}
this.selectedItemRow.setItemDiscountAmount = true;
this.selectedItemRow.itemDiscountAmount = this.fyo.pesa(
Number(this.selectedValue)
this.selectedItemRow.set('setItemDiscountAmount', true);
this.selectedItemRow.set(
'itemDiscountAmount',
this.fyo.pesa(Number(this.selectedValue))
);
}
} else {
Expand Down

0 comments on commit 0d4d917

Please sign in to comment.