chore: Linting issues

(cherry picked from commit 1cb7ae16ab)
This commit is contained in:
Deepesh Garg
2022-08-23 09:12:20 +05:30
committed by Mergify
parent 7c85b487cd
commit 6a9d13ff28

View File

@@ -618,7 +618,7 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
precision("base_discount_amount"));
if (this.frm.doc.apply_discount_on == "Grand Total" && this.frm.doc.is_cash_or_non_trade_discount) {
return
return;
}
var total_for_discount_amount = this.get_total_for_discount_amount();