13598-Fix item End of life in Report templates
This commit is contained in:
parent
0362fa0afc
commit
c5a1314077
|
@ -2757,14 +2757,16 @@ if (is_metaconsole() === true) {
|
|||
<td class="bolder"><?php echo __('Date'); ?></td>
|
||||
<td class="mx180px">
|
||||
<?php
|
||||
$dates = enterprise_hook(
|
||||
'inventory_get_dates',
|
||||
[
|
||||
$idAgentModule,
|
||||
$idAgent,
|
||||
$group,
|
||||
]
|
||||
);
|
||||
if (isset($idAgent) === true) {
|
||||
$dates = enterprise_hook(
|
||||
'inventory_get_dates',
|
||||
[
|
||||
$idAgentModule,
|
||||
$idAgent,
|
||||
$group,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
if ($dates === ENTERPRISE_NOT_HOOK) {
|
||||
$dates = [];
|
||||
|
|
Loading…
Reference in New Issue