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