'.$buildreport_h2.'

'.$buildreport_p.'

'; $view .= '

'.$product_location_raw.'

'.$query_total_raw.'

'.$product_location_SFG.'

'.$query_total_sfg.'

'.$product_location_FG.'

'.$query_total_fg.'

'.$status2_text.'

'.$query_total_onstock.'

'; $details_SFG = changeLogVisual(json_decode(json_encode($query_SFG_total), true), json_decode(json_encode($query_SFG_details), true)); $details_FG = changeLogVisual(json_decode(json_encode($query_FG_total), true),json_decode(json_encode($query_FG_details), true)); $view .= '
'.$data_build_sfg_view.'
'.$details_SFG.'
'.$data_build_fg_view.'
'.$details_FG.'
'; //OUTPUT echo $view; template_footer();