if(this.pointSaleActive.credit_functioning == 'mandatory' || (this.pointSaleActive.credit_functioning == 'user' && this.user.credit_active)) { | if(this.pointSaleActive.credit_functioning == 'mandatory' || (this.pointSaleActive.credit_functioning == 'user' && this.user.credit_active)) { | ||||
this.useCredit = true ; | this.useCredit = true ; | ||||
} | } | ||||
else { | |||||
this.useCredit = false ; | |||||
} | |||||
this.changeStep('products') ; | this.changeStep('products') ; | ||||
}, | }, |