diff --git a/app/Models/NotificationModel.php b/app/Models/NotificationModel.php index f7e1c1e6..2a1bc6d9 100755 --- a/app/Models/NotificationModel.php +++ b/app/Models/NotificationModel.php @@ -343,7 +343,7 @@ public function getExpDate2(){ ->where('nhc.receiving_entity =',$email) ->where('C.customer_id =',$customerId) ->where('S.sub_id =',$subscriptionId) - ->where('nhc.sent_time >=', date('Y-m-d', strtotime('-30 days'))) + ->where('nhc.sent_time >', date('Y-m-d', strtotime('-5 days'))) ->where('nhc.receiving_status = ',1) ->get()->getResultArray(); }