Commit bf2e1e4c by Damien Moulard

remove useless code

parent c64229fe
......@@ -249,15 +249,6 @@ odoo.define("pos_meal_voucher.screens", function (require) {
},
click_paymentmethods_meal_voucher_mixed: function(id) {
var order = this.pos.get_order();
if (order.get_total_meal_voucher_eligible() == 0) {
this.gui.show_popup("alert", {
'title': _t("Meal Voucher 0 amount"),
'body': _t("can't pay"),
});
return false;
}
var cashregister = null;
for ( var i = 0; i < this.pos.cashregisters.length; i++ ) {
if ( this.pos.cashregisters[i].journal_id[0] === id ){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment