FIX_REMOVE VALIDATION ON LINKS
This commit is contained in:
parent
ae3ef6867f
commit
3dccfe78f8
@ -573,10 +573,10 @@ class Notifications extends BaseController
|
|||||||
public function getExpCustomerDetail($window_time = null,$to_time = null)
|
public function getExpCustomerDetail($window_time = null,$to_time = null)
|
||||||
{
|
{
|
||||||
// dd($window_time);
|
// dd($window_time);
|
||||||
$valid_dates = [0,1,7,15,30];
|
// $valid_dates = [0,1,7,15,30];
|
||||||
if(!in_array($window_time,$valid_dates) ){
|
// if(!in_array($window_time,$valid_dates) ){
|
||||||
return "Please enter a valid notification period. Accepted values are 0, 7, 15, or 30 days.";
|
// return "Please enter a valid notification period. Accepted values are 0, 7, 15, or 30 days.";
|
||||||
}
|
// }
|
||||||
$NotificationModel = new NotificationModel();
|
$NotificationModel = new NotificationModel();
|
||||||
$this->update_expired_members();
|
$this->update_expired_members();
|
||||||
$response ="<pre>";// $response = "<pre> Hi, Started. <br>";
|
$response ="<pre>";// $response = "<pre> Hi, Started. <br>";
|
||||||
|
|||||||
@ -128,6 +128,7 @@ public function getSubscriptionInvoiceDetail($where)
|
|||||||
|
|
||||||
public function getJoinedData($where, $orderby = [])
|
public function getJoinedData($where, $orderby = [])
|
||||||
{
|
{
|
||||||
|
// dd($where);
|
||||||
$query = $this->db->table($this->table.' as I' )
|
$query = $this->db->table($this->table.' as I' )
|
||||||
->join('customers as C', 'C.customer_id = I.customer_id', 'left')
|
->join('customers as C', 'C.customer_id = I.customer_id', 'left')
|
||||||
->join('subscription as S', 'S.invoice_id = I.invoice_id', 'left')
|
->join('subscription as S', 'S.invoice_id = I.invoice_id', 'left')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user