diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php index 77921c54..d7201f6e 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -1706,6 +1706,11 @@ public function filterSalesPDList_post() { $value['questions'][$form_key]['answer_value'] = 0; $value['questions'][$form_key]['answers'] = $this->Sales_PD_Model->selectCustomRecords(array('state_id as answer_id','name as answer'),array('isactive' => 1),STATE); } + else if($form_value['question_key'] === 'person_met_designation'){ + $value['questions'][$form_key]['answer_value'] = 0; + $value['questions'][$form_key]['answers'] = $this->Sales_PD_Model->selectCustomRecords(array('company_relationship_id as answer_id','name as answer'),array('isactive' => 1),COMPANYRELATIONSHIPS); + } + else if(!empty($form_value['question_key'])){ $value['questions'][$form_key]['answer_value'] = ($fieldtype == 8 || $fieldtype == 4 || $fieldtype == 3) ? 0 : null; }