reverted : ps
This commit is contained in:
parent
4ea6d412e5
commit
1b9d6755c1
@ -595,11 +595,12 @@ class PD_Controller extends REST_Controller {
|
||||
// die();
|
||||
$pd_details['parent_pd_id'] = isset($pd_details['parent_pd_id']) ? $pd_details['parent_pd_id'] : NULL;
|
||||
|
||||
$lender_id = ENVIRONMENT == 'production' ? 6 : 37; // IndusInd Bank Limited lender means notify enabled.
|
||||
if($pd_details['fk_lender_id'] == $lender_id){
|
||||
// $pd_details['is_notify_enabled'] = isset($pd_details['is_notify_enabled']) ? (!is_null($pd_details['is_notify_enabled']) ? $pd_details['is_notify_enabled'] : 1) : 1;
|
||||
$pd_details['is_notify_enabled'] = 1;
|
||||
}
|
||||
// $lender_id = ENVIRONMENT == 'production' ? 6 : 37; // IndusInd Bank Limited lender means notify enabled.
|
||||
// if($pd_details['fk_lender_id'] == $lender_id){
|
||||
// // $pd_details['is_notify_enabled'] = isset($pd_details['is_notify_enabled']) ? (!is_null($pd_details['is_notify_enabled']) ? $pd_details['is_notify_enabled'] : 1) : 1;
|
||||
// $pd_details['is_notify_enabled'] = 1;
|
||||
// }
|
||||
$pd_details['is_notify_enabled'] = isset($pd_details['is_notify_enabled']) ? (!is_null($pd_details['is_notify_enabled']) ? $pd_details['is_notify_enabled'] : 1) : 1;
|
||||
|
||||
$pd_id = $this->PD_Model->saveRecords($pd_details,PDTRIGGER);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user