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

View File

@ -2757,14 +2757,16 @@ 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
$dates = enterprise_hook( if (isset($idAgent) === true) {
'inventory_get_dates', $dates = enterprise_hook(
[ 'inventory_get_dates',
$idAgentModule, [
$idAgent, $idAgentModule,
$group, $idAgent,
] $group,
); ]
);
}
if ($dates === ENTERPRISE_NOT_HOOK) { if ($dates === ENTERPRISE_NOT_HOOK) {
$dates = []; $dates = [];