type : ps
This commit is contained in:
parent
e2af91b3fe
commit
225574e1c1
@ -225,7 +225,7 @@ class Flyhi_Controller extends REST_Controller {
|
|||||||
$order_by = 'SALES_PD_DATA.sales_pd_id';
|
$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);
|
$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))
|
if(count($Flyhi_pd_data))
|
||||||
{
|
{
|
||||||
@ -312,6 +312,13 @@ class Flyhi_Controller extends REST_Controller {
|
|||||||
{
|
{
|
||||||
$product_id = $g_value['answer_value'];
|
$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['question_key']) && $g_value['question_key'] == 'verification_type')
|
||||||
{
|
{
|
||||||
if(isset($g_value['onchange_properties']))
|
if(isset($g_value['onchange_properties']))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user