diff --git a/view/frontend/web/js/view/payment/method-renderer/default.js b/view/frontend/web/js/view/payment/method-renderer/default.js index def222de..75639384 100755 --- a/view/frontend/web/js/view/payment/method-renderer/default.js +++ b/view/frontend/web/js/view/payment/method-renderer/default.js @@ -43,15 +43,15 @@ define( return this; }, isVisible:function() { - var group = window.checkoutConfig.payment.showforgroup[this.item.method]; - if(group){ - if(group == 0 && customer.isLoggedIn){ + var group = window.checkoutConfig.payment.showforgroup[this.item.method]; + if (group) { + if (group == 0 && customer.isLoggedIn) { return false; } - if(group > 0 && !customer.isLoggedIn){ + if (group > 0 && !customer.isLoggedIn) { return false; } - if(group != customer.customerData.group_id){ + if (group != customer.customerData.group_id) { return false; } }