Spend action
This commit is contained in:
@@ -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'] = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user