Merge branch 'master' of https://bitbucket.org/venbaittech/sparqapi
This commit is contained in:
commit
b974579ec8
@ -1023,7 +1023,7 @@ class PD_Controller extends REST_Controller {
|
||||
$pd_details['is_cus_link_disabled'] = 1;
|
||||
}
|
||||
|
||||
if(isset($pd_details['pd_status']) && ($pd_details['pd_status'] == TRIGGERED || $pd_details['pd_status'] == INITIATED))
|
||||
if(isset($pd_details['pd_status']) && ($pd_details['pd_status'] == TRIGGERED || $pd_details['pd_status'] == INITIATED || $pd_details['pd_status'] == ALLOCATED))
|
||||
{
|
||||
|
||||
/***********************CHOOSE PD TEMPALATE*********************/
|
||||
@ -11133,14 +11133,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']));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user