commit | 39adc8f85fd47992c9078d1bb4f89cb991025794 | [log] [tgz] |
---|---|---|
author | Shreya <shreyashah115@gmail.com> | Mon Jan 22 13:08:05 2018 +0530 |
committer | Shreya <shreyashah115@gmail.com> | Mon Jan 22 13:08:05 2018 +0530 |
tree | 95b4148b9a990e8569ed22f23c153bb7c31a2995 | |
parent | cf7b6511ba854f9f79c1fce68ee7b598a0f15684 [diff] |
calculate total when items are removed
diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 9ee82d2..d290c92 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js
@@ -648,6 +648,9 @@ } }).fail(() => this.frm.set_value('shipping_rule', '')); } + else { + me.calculate_taxes_and_totals(); + } }, set_actual_charges_based_on_currency: function() {