diff --git a/api/application/controllers/Flyhi_Controller.php b/api/application/controllers/Flyhi_Controller.php index a5223cda..5db3ce3d 100644 --- a/api/application/controllers/Flyhi_Controller.php +++ b/api/application/controllers/Flyhi_Controller.php @@ -225,7 +225,7 @@ class Flyhi_Controller extends REST_Controller { $order_by = 'SALES_PD_DATA.sales_pd_id'; $Flyhi_pd_data = $this->Flyhi_Model->getJoinRecords($columns,$table,$joins,$where_condition_array,$order_by,'DESC','',$or_where); - //print_r($this->db->last_query());die(); + // print_r($this->db->last_query());die(); if(count($Flyhi_pd_data)) { @@ -312,6 +312,13 @@ class Flyhi_Controller extends REST_Controller { { $product_id = $g_value['answer_value']; } + if($g_value['answer_value'] == 'Residence verification'){ + $flyhi_pd_type = 4; + } + if($g_value['answer_value'] == 'Office verification'){ + $flyhi_pd_type = 3; + } + if(isset($g_value['question_key']) && $g_value['question_key'] == 'verification_type') { if(isset($g_value['onchange_properties']))