diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index e9f7359d..55ac6378 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -268,9 +268,9 @@ class WrenchWallet extends BaseController } } - if ($previous_wallet){ + if ($previous_wallet ){ foreach ($out['result_list'] as $index=>$item){ - if ($item['code']=='USD'){ + if ($item['code']=='USD' && $this->show_extra_wallet == 1 ){ $out['result_list'][$index]['extra_actions'] = [ 'ADD_VIRTUAL_CARD' => $this->wrenchWalletModel->addVirtualCardWallet()