mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
#10215 Fixed open heatmap
This commit is contained in:
parent
1d61ef11e7
commit
5a4d9739d3
@ -340,7 +340,7 @@ if (is_ajax() === true) {
|
|||||||
|
|
||||||
// Group.
|
// Group.
|
||||||
$secondary_groups = '';
|
$secondary_groups = '';
|
||||||
$secondary = agents_get_secondary_groups($data['id_agente']);
|
$secondary = enterprise_hook('agents_get_secondary_groups', [$data['id_agente']]);
|
||||||
if (isset($secondary['for_select']) === true && empty($secondary['for_select']) === false) {
|
if (isset($secondary['for_select']) === true && empty($secondary['for_select']) === false) {
|
||||||
$secondary_groups = implode(', ', $secondary['for_select']);
|
$secondary_groups = implode(', ', $secondary['for_select']);
|
||||||
$secondary_groups = ', '.$secondary_groups;
|
$secondary_groups = ', '.$secondary_groups;
|
||||||
@ -353,19 +353,26 @@ if (is_ajax() === true) {
|
|||||||
|
|
||||||
|
|
||||||
// Events.
|
// Events.
|
||||||
echo '<div class="div-dialog">';
|
$result_graph_event = enterprise_hook(
|
||||||
echo graph_graphic_agentevents(
|
'graph_graphic_agentevents',
|
||||||
$id,
|
[
|
||||||
100,
|
$id,
|
||||||
40,
|
100,
|
||||||
SECONDS_1DAY,
|
40,
|
||||||
'',
|
SECONDS_1DAY,
|
||||||
true,
|
'',
|
||||||
false,
|
true,
|
||||||
false,
|
false,
|
||||||
1
|
false,
|
||||||
|
1,
|
||||||
|
]
|
||||||
);
|
);
|
||||||
echo '</div>';
|
|
||||||
|
if ($result_graph_event !== -1) {
|
||||||
|
echo '<div class="div-dialog">';
|
||||||
|
echo $result_graph_event;
|
||||||
|
echo '</div>';
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user