Browse Source

[Backend] Distribution : correctif commentaire à null lors de la modification d'une commande

refactoring
Guillaume 2 years ago
parent
commit
a0bfdccfbf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/web/js/vuejs/distribution-index.js

+ 1
- 1
backend/web/js/vuejs/distribution-index.js View File

@@ -713,7 +713,7 @@ Vue.component('order-form',{
data.append('idUser', this.order.id_user) ;
data.append('username', ''+this.order.username) ;
data.append('products', JSON.stringify(this.order.productOrder)) ;
data.append('comment', this.order.comment) ;
data.append('comment', this.order.comment && this.order.comment.length ? this.order.comment : '') ;
data.append('processCredit', processCredit) ;

axios.post(UrlManager.getBaseUrlAbsolute()+"order/ajax-update",data)

Loading…
Cancel
Save