'.$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 .= '
'.$details_SFG.'
'.$details_FG.'
';
//OUTPUT
echo $view;
template_footer();