Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 5:54 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: Wed Feb 10, 2010 2:30 am 
Offline
Newbie

Joined: Wed Feb 10, 2010 2:18 am
Posts: 1
Does anyone have a custom view for a report that will give PC name, serial, monitor serial, and full name of user who used the machine?

I'm trying to allow my finance department to run there own inventory checks and audits

Thanks!


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 11, 2010 2:34 am 
Try this, you will may need to change "show"=>"y" to "show"=>"n" if the amount of data messes up the format.

<?php

$query_array=array("headline"=>__("List all Monitors"),
"sql"=>"SELECT system_uuid,system_name,system_model,system_id_number,monitor_serial,monitor_model,net_user_name FROM monitor LEFT JOIN system on system_uuid=monitor_uuid ",
"sort"=>"system_name",
"dir"=>"DESC",
"get"=>array("file"=>"system.php",
"title"=>__("Go to System"),
"var"=>array("pc"=>"%system_uuid",
"view"=>"summary",
),
),
"fields"=>array("10"=>array("name"=>"system_name",
"head"=>__("System Name"),
"show"=>"y",
"link"=>"y",
),
"20"=>array("name"=>"system_model",
"head"=>__("System Model"),
"show"=>"y",
"link"=>"n",
),
"30"=>array("name"=>"system_id_number",
"head"=>__("System Serial"),
"show"=>"y",
"link"=>"n",
),
"40"=>array("name"=>"monitor_model",
"head"=>__("Monitor Model"),
"show"=>"y",
"link"=>"n",
),
"50"=>array("name"=>"monitor_serial",
"head"=>__("Monitor Serial"),
"show"=>"y",
"link"=>"n",
),

"60"=>array("name"=>"net_user_name",
"head"=>__("User Name"),
"show"=>"y",
"link"=>"n",
),



),
);
?>


Top
  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group