Sfoglia il codice sorgente

Correctif order-order.js

refactoring
Guillaume 3 anni fa
parent
commit
714ae397fd
1 ha cambiato i file con 3 aggiunte e 6 eliminazioni
  1. +3
    -6
      producer/web/js/vuejs/order-order.js

+ 3
- 6
producer/web/js/vuejs/order-order.js Vedi 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…
Annulla
Salva