Browse Source

Correctif order-order.js

refactoring
Guillaume 3 years ago
parent
commit
714ae397fd
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      producer/web/js/vuejs/order-order.js

+ 3
- 6
producer/web/js/vuejs/order-order.js View File

@@ -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' ;
}

Loading…
Cancel
Save