Quellcode durchsuchen

Merge branch 'master' into dev

dev
Guillaume vor 4 Jahren
Ursprung
Commit
87bb3c0c07
1 geänderte Dateien mit 1 neuen und 10 gelöschten Zeilen
  1. +1
    -10
      backend/web/js/vuejs/distribution-index.js

+ 1
- 10
backend/web/js/vuejs/distribution-index.js Datei anzeigen

@@ -598,14 +598,6 @@ Vue.component('order-form',{
submitFormUpdate: function(event) {
var app = this ;
if(this.checkForm()) {

var productsArray = {};
for(key in this.order.productOrder) {
if(this.order.productOrder[key].quantity > 0) {
productsArray[key] = this.order.productOrder[key] ;
}
}

var processCredit = event.currentTarget.getAttribute('data-process-credit') ;
axios.get(UrlManager.getBaseUrlAbsolute()+"order/ajax-update",{params: {
date: this.date.getFullYear() + '-'
@@ -616,8 +608,7 @@ Vue.component('order-form',{
meanPayment: this.order.mean_payment,
idUser: this.order.id_user,
username: ''+this.order.username,
products: JSON.stringify(productsArray),
//products: JSON.stringify(this.order.productOrder),
products: JSON.stringify(this.order.productOrder),
comment: this.order.comment,
processCredit: processCredit
}})

Laden…
Abbrechen
Speichern