Skip to content

Commit

Permalink
calculating the tax on discounting (#1187)
Browse files Browse the repository at this point in the history
Co-authored-by: elsiosanchez <elsiossanches@gmail.com>
  • Loading branch information
elsiosanchez and elsiosanchez authored Sep 9, 2021
1 parent 23953e6 commit 7e68d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ADempiere/Form/VPOS/Order/orderLineMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default {
} else if (columnName === 'DiscountTotal') {
return this.formatPrice(row.priceList * (row.discountRate / 100))
} else if (columnName === 'DisplayTaxAmount') {
return this.formatPrice((row.priceList * row.taxRate.rate / 100))
return this.formatPrice((row.priceActual * row.taxRate.rate / 100))
}
},
productPrice(price, discount) {
Expand Down

0 comments on commit 7e68d80

Please sign in to comment.