diff --git a/modules/paybox/hookpayment.tpl b/modules/paybox/hookpayment.tpl index eecb1ed9..ba73cc1c 100755 --- a/modules/paybox/hookpayment.tpl +++ b/modules/paybox/hookpayment.tpl @@ -17,16 +17,14 @@
{l s='You have registered cards, you can use them to pay' mod='paybox'}
{foreach from=$paybox_cards item=account} diff --git a/modules/paybox/paybox.php b/modules/paybox/paybox.php index f97b7e5e..d023ec4e 100755 --- a/modules/paybox/paybox.php +++ b/modules/paybox/paybox.php @@ -256,14 +256,14 @@ class Paybox extends PaymentModule ) ) '); - $isInGroupTest = Db::getInstance()->getValue(' - SELECT COUNT(cg.`id_group`) - FROM '._DB_PREFIX_.'customer_group cg - WHERE cg.`id_customer` = '.(int)$cart->id_customer.' - AND cg.`id_group` = 2 - '); + // $isInGroupTest = Db::getInstance()->getValue(' + // SELECT COUNT(cg.`id_group`) + // FROM '._DB_PREFIX_.'customer_group cg + // WHERE cg.`id_customer` = '.(int)$cart->id_customer.' + // AND cg.`id_group` = 2 + // '); //if ($isInGroupTest == 0 || $orders_with_delivery_address == 0){ - if ($isInGroupTest == 0){ + if ($orders_with_delivery_address == 0){ $paybox_cards = array(); } else { $paybox_cards = Db::getInstance()->executeS(' @@ -283,8 +283,7 @@ class Paybox extends PaymentModule 'pbx_picture' => 'paybox', 'pbx_text' => $this->l('Pay by credit card with Paybox'), 'paybox_cards' => $paybox_cards, - 'pbx_link_plus' => $pbx_link_plus, - 'isInGroupTest' => (int)$isInGroupTest + 'pbx_link_plus' => $pbx_link_plus )); return ($this->display(__FILE__, 'hookpayment.tpl')); diff --git a/themes/site_mobile/css/style.css b/themes/site_mobile/css/style.css index dd2f43e2..0d21a543 100755 --- a/themes/site_mobile/css/style.css +++ b/themes/site_mobile/css/style.css @@ -2949,7 +2949,7 @@ body#order #HOOK_PAYMENT .box_add_to_cart .content_box p{ margin-bottom: 15px; padding-bottom: 0; } -.account_payment .box_account { cursor: pointer; overflow: auto } +.account_payment .box_account { cursor: pointer; overflow: auto; line-height: 24px; } .account_payment .box_account input { float: left; position: relative; top: 3px; width: 10%;} .account_payment .box_account label { float: left; cursor: pointer; color: #444d52; font-size: 12px; width: 90%;} @@ -5002,6 +5002,3 @@ body#product #best-sellers_block_product{ #order #center_column #HOOK_PAYMENT div.payment_paybox .account_payment .title { text-align: center; } -#order #center_column #HOOK_PAYMENT div.payment_paybox .account_payment .box_account input{ - top:1px; -}