Browse Source

Merge tag 'hotfix_1716' into develop

hotfix_1716
feature/rotating_product
Guillaume Bourgeois 6 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

}); });
} }



if (response.data.distribution) { if (response.data.distribution) {
app.distribution = response.data.distribution; app.distribution = response.data.distribution;
} }
errorCreditMandatoryAndLimit: function() { errorCreditMandatoryAndLimit: function() {
return this.user && ( return this.user && (
this.pointSaleActive.credit_functioning == 'mandatory' 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); && !this.checkCreditLimit(this.order);
}, },

Loading…
Cancel
Save