This commit is contained in:
2022-05-31 17:28:07 -04:00
parent de6288fc3a
commit a4ba2da5ed
2 changed files with 17 additions and 0 deletions
+6
View File
@@ -30,6 +30,12 @@ class Dash extends Users_Controller {
redirect(home);
} else {
// load the Dash model now
$this->load->model('coupon_model');
$activeCouponResult = $this->coupon_model->loadMemberActiveCoupons($_SESSION['member_id'] ,$fliters=[]);
$_SESSION['coupon'] = $activeCouponResult->num_rows();
// print_r($_SESSION);
$this->load->model('dash_model');
$out = $this->dash_model->getDashData($data);