MEQ General Form : ps
This commit is contained in:
parent
12ccaa6efd
commit
56602fdb2b
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user