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