←':''; //Check if allowed if (isAllowed($page,$_SESSION['profile'],$_SESSION['permission'],'R') === 0){ header('location: index.php'); exit; } //GET Details from URL $GET_VALUES = urlGETdetails($_GET) ?? ''; //CALL TO API FOR History $api_url = '/v2/history/'.$GET_VALUES; $history = ioServer($api_url,''); //Decode Payload if (!empty($history)){$history = json_decode($history);}else{$history = null;} template_header('Servicereport', 'servicereport','view'); $view = '
'; //Get all related service events if (empty($history)){ $service_events = '