Skip to content

Commit

Permalink
Merge pull request #29896 from nextchamp-saqib/fix-pos-coupon-code-#2
Browse files Browse the repository at this point in the history
fix(pos): removal of coupon code
  • Loading branch information
nextchamp-saqib authored Feb 21, 2022
2 parents 6956578 + fa38c29 commit 1a31e9d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions erpnext/selling/page/point_of_sale/pos_payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,6 @@ erpnext.PointOfSale.Payment = class {
() => frm.save(),
() => this.update_totals_section(frm.doc)
]);
} else {
frappe.run_serially([
() => frm.doc.ignore_pricing_rule=1,
() => frm.trigger('ignore_pricing_rule'),
() => frm.doc.ignore_pricing_rule=0,
() => frm.save(),
() => this.update_totals_section(frm.doc)
]);
}
}
});
Expand Down

0 comments on commit 1a31e9d

Please sign in to comment.