Browse Source

Merge tag 'hotfix_1716' into develop

hotfix_1716
feature/rotating_product
Guillaume Bourgeois 5 months ago
parent
commit
8583537061
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      producer/web/js/vuejs/order-order.js

+ 1
- 2
producer/web/js/vuejs/order-order.js View File

@@ -197,7 +197,6 @@ var app = new Vue({
});
}


if (response.data.distribution) {
app.distribution = response.data.distribution;
}
@@ -608,7 +607,7 @@ var app = new Vue({
errorCreditMandatoryAndLimit: function() {
return this.user && (
this.pointSaleActive.credit_functioning == 'mandatory'
|| (this.pointSaleActive.credit_functioning == 'user' && this.user.credit_active)
|| (this.pointSaleActive.credit_functioning == 'user' && user.credit_active)
)
&& !this.checkCreditLimit(this.order);
},

Loading…
Cancel
Save