CITY TO STATE CHGE 4 RCM
This commit is contained in:
parent
ec299f4752
commit
aee7e361c1
@ -11124,14 +11124,14 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
if($user_details['data'][0]['user_role'] == 26)//Credit Manager
|
if($user_details['data'][0]['user_role'] == 26)//Credit Manager
|
||||||
{
|
{
|
||||||
//get RCM and allocate to RCM
|
//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))
|
if(count($rcm))
|
||||||
{
|
{
|
||||||
$pd_details['fk_pd_allocated_to'] = $rcm[0]['userid'];
|
$pd_details['fk_pd_allocated_to'] = $rcm[0]['userid'];
|
||||||
}
|
}
|
||||||
else
|
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']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user