←':''; //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 = '/v1/history/'.$GET_VALUES; $history = ioServer($api_url,''); //Decode Payload if (!empty($history)){$history = decode_payload($history);}else{$history = null;} template_header('Servicereport', 'servicereport','view'); $view = '
'; //Get all related service events if (empty($history)){ $service_events = '