From 225574e1c10ae69e27909f8ff2fb1b2221713160 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Sat, 18 Jun 2022 17:03:13 +0530 Subject: [PATCH] type : ps --- api/application/controllers/Flyhi_Controller.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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']))