Skip to content

Commit

Permalink
fix: Ignore for Purchase Invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Mar 24, 2022
1 parent 2e33e74 commit ed38679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/public/js/controllers/taxes_and_totals.js
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
this.frm.set_value('base_paid_amount', flt(base_paid_amount, precision("base_paid_amount")));
},

calculate_change_amount: function(){
calculate_change_amount: function() {
this.frm.doc.change_amount = 0.0;
this.frm.doc.base_change_amount = 0.0;
if(in_list(["Sales Invoice", "POS Invoice"], this.frm.doc.doctype)
Expand Down

0 comments on commit ed38679

Please sign in to comment.