diff --git a/api/application/config/constants.php b/api/application/config/constants.php index a92fee1a..060274ea 100644 --- a/api/application/config/constants.php +++ b/api/application/config/constants.php @@ -87,7 +87,7 @@ defined('EXIT__AUTO_MAX') OR define('EXIT__AUTO_MAX', 125); // highest auto // define login route name for token verification //defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', '(listLessPDDetails/:any)'); // no errors //defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', '(listAllTemplates/:any)'); // no errors -defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', 'updatePDMaster'); // no errors +defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', 'getTemplateLenders'); // no errors /*********************AWS resources Constants*************************************************/ defined('PROFILE_PICTURE_BUCKET_NAME') OR define('PROFILE_PICTURE_BUCKET_NAME','sineedgedevprofilepic'); diff --git a/api/application/helpers/pdalerts_helper.php b/api/application/helpers/pdalerts_helper.php index afea7cdf..e148a7ac 100644 --- a/api/application/helpers/pdalerts_helper.php +++ b/api/application/helpers/pdalerts_helper.php @@ -64,23 +64,23 @@ class PDALERTS } else //sent sms to all lender contacts associated to lender id { - if($pd_notification_configs[0]['sms_lender'] == 1) - { + // if($pd_notification_configs[0]['sms_lender'] == 1) + // { - $CI->db->SELECT("contact_mobile_no"); - $CI->db->FROM(ENTITYCHILD); - $CI->db->WHERE("fk_entity_id",$core_details[0]['fk_lender_id']); - $lender_mobile_nos = $CI->db->GET()->result_array(); - //print_r($lender_mobile_nos); - //print_r($lender_mobile_nos); - if(count($lender_mobile_nos)) - { - foreach($lender_mobile_nos as $mobile) - { - array_push($mobile_nos_to_send_notification,$mobile['contact_mobile_no']); - } - } - } + // $CI->db->SELECT("contact_mobile_no"); + // $CI->db->FROM(ENTITYBILLINGCONTACTINFO); + // $CI->db->WHERE("fk_entity_id",$core_details[0]['fk_lender_id']); + // $lender_mobile_nos = $CI->db->GET()->result_array(); + // //print_r($lender_mobile_nos); + // //print_r($lender_mobile_nos); + // if(count($lender_mobile_nos)) + // { + // foreach($lender_mobile_nos as $mobile) + // { + // array_push($mobile_nos_to_send_notification,$mobile['contact_mobile_no']); + // } + // } + // } } //add pd officer no