Переглянути джерело

Correctif order-order.js

refactoring
Guillaume 3 роки тому
джерело
коміт
714ae397fd
1 змінених файлів з 3 додано та 6 видалено
  1. +3
    -6
      producer/web/js/vuejs/order-order.js

+ 3
- 6
producer/web/js/vuejs/order-order.js Переглянути файл

@@ -84,12 +84,6 @@ var app = new Vue({
this.init('first') ;

if(dateDefined) {
if(this.producer && this.producer.option_order_entry_point == 'date') {
this.changeStep('point-sale') ;
}
}

this.loadingInit = false ;
},
methods: {
@@ -270,6 +264,9 @@ var app = new Vue({
if(app.producer.option_order_entry_point == 'point-sale') {
app.step = 'point-sale' ;
}
else if(app.getDate() && app.producer && app.producer.option_order_entry_point == 'date') {
app.step = 'point-sale' ;
}
else {
app.step = 'date' ;
}

Завантаження…
Відмінити
Зберегти