From 3affada3fa8d629b070ca01d4884492db1d5fb98 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 9 Nov 2024 06:14:01 -0500 Subject: [PATCH] $this->show_extra_wallet --- www-api/app/Controllers/WrenchWallet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()