#13465 added id user in list events report

This commit is contained in:
Daniel Cebrian 2024-05-06 09:28:01 +02:00
parent 17c303ff97
commit 6e38614ca8
1 changed files with 5 additions and 1 deletions

View File

@ -3908,7 +3908,11 @@ function reporting_html_event_report_agent($table, $item, $pdf=0)
$data[] = '<i>'.__('System').'</i>';
} else {
$user_name = db_get_value('fullname', 'tusuario', 'id_user', $event['validated_by']);
$data[] = io_safe_output($user_name);
if (isset($event['id_usuario']) === true && empty($event['id_usuario']) === false) {
$data[] = io_safe_output($user_name).' ('.$event['id_usuario'].')';
} else {
$data[] = '';
}
}
if ($item['show_summary_group']) {