Wallet fix

This commit is contained in:
CHIEFSOFT\ameye
2024-10-30 16:41:22 -04:00
parent 4c46d4232f
commit c637146653
2 changed files with 3 additions and 50 deletions
+3 -24
View File
@@ -219,30 +219,9 @@ class WrenchWallet extends BaseController
$this->saveCache($endpoint,$out,1500);
}
}
$extraWallet = $this->wrenchWalletModel->kidsExtraWallet();
$extraWallet = $this->wrenchWalletModel->kidsExtraWallet();
// $out["result_list"][] = $extraWallet;
// [
// "amount" => 0,
// "id" => 1,
// "code" => "USD",
// "description" => "Add Virtual Debit Card",
// "symbol" => "$",
// "action_type" => "AC_AD_VIRTUAL_CARD",
// "lorder" => 0,
// "country" => "",
// "processor" => 9010,
// "current_balance" => 0,
// "transfer_limit" => 0,
// "wallet_uid" => "",
// "escrow" => 0,
// "status" => 1,
// "show_balance" => false,
// "rt_action_text" => "Add Card",
// "banner" => 'https://www.wrenchboard.com/assets/images/apps/wallet/wallet-card.jpg',
// "icon" => 'https://www.wrenchboard.com/assets/images/apps/wallet/icon/cards.png'
// ];
/* */
//$out["result_list"][] = $extraWallet;
$out["wallet_cards"] = [];
return $this->respond( $this->summaryReturnData($in,$out), 200);
}
@@ -267,7 +246,7 @@ class WrenchWallet extends BaseController
// $wallet_country = $first_names = array_column($owner_country , 'country');;
$auxWallet = $this->auxiliaryWallets($owner_country);
foreach ($auxWallet as $item){
// $out["result_list"][] = $item;
$out["result_list"][] = $item;
}
}
log_message('critical', "***** ***** WrenchJobs::getWallet Ret ");