Commit 59273361 by François C.

Fix oder => order syntax

parent e46288b7
......@@ -14,8 +14,8 @@ odoo.define("pos_meal_voucher.screens", function (require) {
screens.ScreenWidget.include({
barcode_meal_voucher_payment_action: function (code) {
var oder = this.pos.get_order();
if(!oder.paper_meal_vouche_number_already_used(code.code)){
var order = this.pos.get_order();
if(!order.paper_meal_vouche_number_already_used(code.code)){
// Display the payment screen, if it is not the current one.
if (this.pos.gui.current_screen.template !== "PaymentScreenWidget"){
this.gui.show_screen("payment");
......
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