Merge pull request #6443 from rohitwaghchaure/pos_discount_issue

[POS] minor fix
This commit is contained in:
Nabin Hait 2016-09-22 18:00:55 +05:30 committed by GitHub
commit f79b3f8c3c

View File

@ -655,7 +655,6 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
show_items_in_item_cart: function() { show_items_in_item_cart: function() {
var me = this; var me = this;
var $items = this.wrapper.find(".items").empty(); var $items = this.wrapper.find(".items").empty();
me.frm.doc.net_total = 0.0
$.each(this.frm.doc.items|| [], function(i, d) { $.each(this.frm.doc.items|| [], function(i, d) {
$(frappe.render_template("pos_bill_item", { $(frappe.render_template("pos_bill_item", {
item_code: d.item_code, item_code: d.item_code,