PDALERTS
This commit is contained in:
parent
cdc58b7b24
commit
c721b71e93
@ -87,7 +87,7 @@ defined('EXIT__AUTO_MAX') OR define('EXIT__AUTO_MAX', 125); // highest auto
|
|||||||
// define login route name for token verification
|
// 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', '(listLessPDDetails/:any)'); // no errors
|
||||||
//defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', '(listAllTemplates/: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*************************************************/
|
/*********************AWS resources Constants*************************************************/
|
||||||
defined('PROFILE_PICTURE_BUCKET_NAME') OR define('PROFILE_PICTURE_BUCKET_NAME','sineedgedevprofilepic');
|
defined('PROFILE_PICTURE_BUCKET_NAME') OR define('PROFILE_PICTURE_BUCKET_NAME','sineedgedevprofilepic');
|
||||||
|
|||||||
@ -64,23 +64,23 @@ class PDALERTS
|
|||||||
}
|
}
|
||||||
else //sent sms to all lender contacts associated to lender id
|
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->SELECT("contact_mobile_no");
|
||||||
$CI->db->FROM(ENTITYCHILD);
|
// $CI->db->FROM(ENTITYBILLINGCONTACTINFO);
|
||||||
$CI->db->WHERE("fk_entity_id",$core_details[0]['fk_lender_id']);
|
// $CI->db->WHERE("fk_entity_id",$core_details[0]['fk_lender_id']);
|
||||||
$lender_mobile_nos = $CI->db->GET()->result_array();
|
// $lender_mobile_nos = $CI->db->GET()->result_array();
|
||||||
//print_r($lender_mobile_nos);
|
// //print_r($lender_mobile_nos);
|
||||||
//print_r($lender_mobile_nos);
|
// //print_r($lender_mobile_nos);
|
||||||
if(count($lender_mobile_nos))
|
// if(count($lender_mobile_nos))
|
||||||
{
|
// {
|
||||||
foreach($lender_mobile_nos as $mobile)
|
// foreach($lender_mobile_nos as $mobile)
|
||||||
{
|
// {
|
||||||
array_push($mobile_nos_to_send_notification,$mobile['contact_mobile_no']);
|
// array_push($mobile_nos_to_send_notification,$mobile['contact_mobile_no']);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
//add pd officer no
|
//add pd officer no
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user