Sales_PD_Controller.php image split : ps
This commit is contained in:
parent
2b6dd121bf
commit
67b9742872
@ -220,8 +220,10 @@ class Sales_PD_Controller extends REST_Controller {
|
||||
if(count($view_data['section9'])>0){
|
||||
for ($i = 0; $i < count($view_data['section9']); $i++){
|
||||
$img_fields[0]['img_name'] = $view_data['section9'][$i]['img_name'];
|
||||
$img_fields[0]['img'] = $view_data['section9'][$i]['img'];
|
||||
salespd_cetapp::pushwithcetsalespdapi($common_fields,$img_fields,2);
|
||||
$img_split = explode( ',', $view_data['section9'][$i]['img']);
|
||||
$img_fields[0]['img'] = $img_split[1];
|
||||
// $img_fields[0]['img'] = $view_data['section9'][$i]['img'];
|
||||
salespd_cetapp::pushwithcetsalespdapi($common_fields,$img_fields,2);
|
||||
}
|
||||
// "section9":{"selfie_with_person_met":"SAVED","approach_to_pd_location":["SAVED",""],"name_board_seen":["SAVED",""],"stock_image":["SAVED","SAVED","SAVED","SAVED",""],"workplace_interior_image":["SAVED","SAVED",""]}}
|
||||
// $arr1 =array();$arr2 =array();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user