13598-Fix item End of life in Report templates

This commit is contained in:
Pablo Aragon 2024-05-07 13:01:22 +02:00
parent 0362fa0afc
commit c5a1314077
1 changed files with 10 additions and 8 deletions

View File

@ -2757,6 +2757,7 @@ if (is_metaconsole() === true) {
<td class="bolder"><?php echo __('Date'); ?></td>
<td class="mx180px">
<?php
if (isset($idAgent) === true) {
$dates = enterprise_hook(
'inventory_get_dates',
[
@ -2765,6 +2766,7 @@ if (is_metaconsole() === true) {
$group,
]
);
}
if ($dates === ENTERPRISE_NOT_HOOK) {
$dates = [];