Telephonic Sales PD Image : ps
This commit is contained in:
parent
ea0f7d782d
commit
4937f919cb
@ -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'])
|
||||
{
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user