'.$history_h2.'

'.$history_p.'

'; if (isset($success_msg)){ $view .= '

'.$success_msg.'

'; } $view .= '
'.$button_cancel.' '; $view .= '
'.$general_filters.'
'; $view .= '
'; if ($update_allowed === 1){ $view .= ' '; } $view .= ' '; if (empty($responses)){ $view .= ' '; } else { foreach ($responses as $response){ $description = json_decode($response->description) ?? $response->description; $description = json_encode($description, JSON_PRETTY_PRINT); //Replace JSON ITEMS $search = ['{', '}', '"',':','[',']',',']; $replace = ['', '','','=','','','']; $description = str_replace($search, $replace, $description); $view .= ' '; if ($update_allowed === 1){ $view .= ' '; } $view .= ' '; } } $view .= '
'.$history_label1.' '.$history_label2.' '.$history_label3.' '.$history_label4.' '.$history_label5.''.$view_asset_actions.'
'.$history_no_history.'
'.$response->historyID.' '.$response->type.' '.$response->created.' '.$response->createdby.'
' . $description . '
'.$general_view .'
'; $view.=''; //OUTPUT echo $view; template_footer();