@@ -230,7 +230,8 @@ var app = new Vue({ | |||
} | |||
if(app.pointSaleActive) { | |||
if(app.pointSaleActive.payment_method_credit | |||
if(app.producer.credit | |||
&& app.pointSaleActive.payment_method_credit | |||
&& (app.pointSaleActive.credit_functioning == 'mandatory' | |||
|| (app.pointSaleActive.credit_functioning == 'user' && app.user.credit_active) | |||
|| (app.pointSaleActive.credit_functioning == 'optional' && response.data.producer.use_credit_checked_default))) { |