2012-04-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: Several fixes on inventory reports. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d56ef8414b
commit
c27a984e13
|
@ -1,3 +1,8 @@
|
|||
2012-04-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/reporting/reporting_builder.item_editor.php: Several
|
||||
fixes on inventory reports.
|
||||
|
||||
2012-04-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/reporting/graph_builder.graph_editor.php: Fixed display
|
||||
|
|
|
@ -39,6 +39,7 @@ if (enterprise_include_once ('include/functions_metaconsole.php')) {
|
|||
}
|
||||
|
||||
$idAgent = null;
|
||||
$idAgentModule = null;
|
||||
$idCustomGraph = null;
|
||||
$text = null;
|
||||
$header = null;
|
||||
|
@ -74,6 +75,9 @@ $time_from = '00:00';
|
|||
$time_to = '23:59';
|
||||
$show_graph = 0;
|
||||
$sla_sorted_by = 0;
|
||||
$id_agents = '';
|
||||
$inventory_modules = array();
|
||||
$date = null;
|
||||
|
||||
switch ($action) {
|
||||
case 'new':
|
||||
|
@ -558,7 +562,7 @@ html_print_input_hidden('id_item', $idItem);
|
|||
<td style="vertical-align: top;"><?php echo __('Date'); ?></td>
|
||||
<td style="max-width: 180px">
|
||||
<?php
|
||||
$dates = enterprise_hook('inventory_get_dates',array($idAgentModule, $idAgent, $id_group));
|
||||
$dates = enterprise_hook('inventory_get_dates',array($idAgentModule, $idAgent, $group));
|
||||
if($dates === ENTERPRISE_NOT_HOOK) {
|
||||
$dates = array();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue