hotfix_1716feature/rotating_product
@@ -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); | |||
}, |