Spend action

This commit is contained in:
CHIEFSOFT\ameye
2024-10-31 06:49:12 -04:00
parent 29ab345a2d
commit 2a7701c4ff
2 changed files with 32 additions and 0 deletions
+6
View File
@@ -249,6 +249,12 @@ class WrenchWallet extends BaseController
'ADD_VIRTUAL_CARD' => $this->wrenchWalletModel->addVirtualCardWallet()
];
}
elseif ($item['code']=='NAIRA'){
$out['result_list'][$index]['extra_actions'] =
[
'SPEND_FROM_BALANCE' => $this->wrenchWalletModel->spendFromBalanceWallet()
];
}
else{
$out['result_list'][$index]['extra_actions'] = [];
}