diff --git a/app/Controllers/Notifications.php b/app/Controllers/Notifications.php index d633fdbe..e7e44c89 100755 --- a/app/Controllers/Notifications.php +++ b/app/Controllers/Notifications.php @@ -573,10 +573,10 @@ class Notifications extends BaseController public function getExpCustomerDetail($window_time = null,$to_time = null) { // dd($window_time); - $valid_dates = [0,1,7,15,30]; - if(!in_array($window_time,$valid_dates) ){ - return "Please enter a valid notification period. Accepted values are 0, 7, 15, or 30 days."; - } + // $valid_dates = [0,1,7,15,30]; + // if(!in_array($window_time,$valid_dates) ){ + // return "Please enter a valid notification period. Accepted values are 0, 7, 15, or 30 days."; + // } $NotificationModel = new NotificationModel(); $this->update_expired_members(); $response ="
";// $response = "Hi, Started.
"; diff --git a/app/Models/InvoiceModel.php b/app/Models/InvoiceModel.php index b7e97f61..6b41daf2 100755 --- a/app/Models/InvoiceModel.php +++ b/app/Models/InvoiceModel.php @@ -128,6 +128,7 @@ public function getSubscriptionInvoiceDetail($where) public function getJoinedData($where, $orderby = []) { + // dd($where); $query = $this->db->table($this->table.' as I' ) ->join('customers as C', 'C.customer_id = I.customer_id', 'left') ->join('subscription as S', 'S.invoice_id = I.invoice_id', 'left')