From 4937f919cb405147ddae478e6e0152fe74c9810f Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Fri, 24 Feb 2023 15:43:40 +0530 Subject: [PATCH] Telephonic Sales PD Image : ps --- api/application/controllers/Sales_PD_Controller.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php index 57bbdade..91a3508e 100644 --- a/api/application/controllers/Sales_PD_Controller.php +++ b/api/application/controllers/Sales_PD_Controller.php @@ -1416,7 +1416,7 @@ public function filterSalesPDList_post() { // print_r($sales_pd_img_data); // print_r($product_short_name);die(); //sales tele pd img structure array - $imgs = array('selfie_with_person_met' => array('is_multiple' => 0,'img_name' => 'Selfie of the person contacted'),'name_board_seen' => array('is_multiple' => 1,'img_name' => 'Business Name Board'),'stock_image' => array('is_multiple' => 1,'img_name' => 'Stock Images'),'workplace_interior_image' => array('is_multiple' => 1,'img_name' => 'Work Place Interior'),'approach_to_pd_location' => array('is_multiple' => 1,'img_name' => 'Approach to pd location') ); + $imgs = array('selfie_with_person_met' => array('is_multiple' => 0,'img_name' => 'Selfie of the person contacted'),'name_board_seen' => array('is_multiple' => 1,'img_name' => 'Business Name Board'),'stock_image' => array('is_multiple' => 1,'img_name' => 'Stock Images'),'workplace_interior_image' => array('is_multiple' => 1,'img_name' => 'Work Place Interior')); if($product_short_name[0]['abbr'] == 'MEQ') { $imgs = array('selfie_with_person_met' => array('is_multiple' => 0,'img_name' => 'Selfie of the person contacted'),'hospital_building' => array('is_multiple' => 1,'img_name' => 'Institute Building photo'),'name_board_seen' => array('is_multiple' => 1,'img_name' => 'Name Board'),'institute_interior' => array('is_multiple' => 1,'img_name' => 'Institute interior potographs')); @@ -1433,11 +1433,10 @@ public function filterSalesPDList_post() { // print_r($sales_pd_img_data); foreach ($imgs as $key => $value) { - + //echo "FISRT LOOP****$key"; foreach ($sales_pd_img_data as $sales_pd_img_data_key => $sales_pd_img_data_value) { - // echo "SEC LOOP****"; - + //echo "SEC LOOP****"; if($key == $sales_pd_img_data_value['img_name']) {