From aee7e361c1d9d56df45789f1d97969652324cdec Mon Sep 17 00:00:00 2001 From: Velz2020 Date: Sun, 21 Mar 2021 19:55:46 +0530 Subject: [PATCH] CITY TO STATE CHGE 4 RCM --- api/application/controllers/PD_Controller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/application/controllers/PD_Controller.php b/api/application/controllers/PD_Controller.php index 24685713..bdb99694 100644 --- a/api/application/controllers/PD_Controller.php +++ b/api/application/controllers/PD_Controller.php @@ -11124,14 +11124,14 @@ public function getCompaniesListsFromGeneralFormRawJSON_post() if($user_details['data'][0]['user_role'] == 26)//Credit Manager { //get RCM and allocate to RCM - $rcm = $this->SMC_Credit_PD_Model->getSMCFlowUsers($existing_pd_details[0]['fk_city'],27); + $rcm = $this->SMC_Credit_PD_Model->getSMCFlowUsers($existing_pd_details[0]['fk_state'],27); if(count($rcm)) { $pd_details['fk_pd_allocated_to'] = $rcm[0]['userid']; } else { - log_message('ERROR',('### Couldnot find RCM users in BOUNCED status - '.$existing_pd_details[0]['fk_city'])); + log_message('ERROR',('### Couldnot find RCM users in BOUNCED status - '.$existing_pd_details[0]['fk_state'])); }