From 8f1507548e7ced445a2134858d2694e80209ad4d Mon Sep 17 00:00:00 2001 From: Olusesan Ameye Date: Tue, 31 May 2022 19:27:24 -0400 Subject: [PATCH] fix --- www/application/controllers/Coupons.php | 5 +++++ www/application/views/users/view_coupon.php | 18 ++++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/www/application/controllers/Coupons.php b/www/application/controllers/Coupons.php index 46aff196..cdef735d 100644 --- a/www/application/controllers/Coupons.php +++ b/www/application/controllers/Coupons.php @@ -20,8 +20,13 @@ class Coupons extends Users_Controller { $data['coupon_table_row'] = $activeCouponResult->result(); $data['page_title'] ="Coupons"; $this->renderSecurePage('users/view_coupon', $data); + } + public function redeem(){ + $what = $this->input->get('what'); + $value = $this->input->get('value'); + echo "RD $what $value"; } } \ No newline at end of file diff --git a/www/application/views/users/view_coupon.php b/www/application/views/users/view_coupon.php index 906da581..b64c9a80 100644 --- a/www/application/views/users/view_coupon.php +++ b/www/application/views/users/view_coupon.php @@ -59,7 +59,7 @@ -