This commit is contained in:
2022-03-07 14:00:31 -05:00
parent f64576f3e8
commit b0747071e9
10 changed files with 95 additions and 285 deletions
+4 -2
View File
@@ -177,8 +177,10 @@ class Login extends WRB_Controller {
public function refreshAccountDetail($member_id) {
$this->load->model('account_model');
$qr = $this->account_model->loadAccountData($member_id);
// print_r($qr);
$_SESSION['current_balance'] = $qr[0]['balance'];
$this->load->model('account_model');
$_SESSION['current_balance'] = $this->account_model->getUserWallet($member_id,$currency='NAIRA'); // $out['current_balance'];
// $_SESSION['current_balance'] = $qr[0]['balance'];
$_SESSION['active_task'] = $this->account_model->loadActiveTaskCount($member_id);
}