From 474df5fef29c85a7aa28204a17f1002542a8db33 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 Jun 2021 15:41:21 +0200 Subject: [PATCH] Update box_boms.php --- htdocs/core/boxes/box_boms.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/htdocs/core/boxes/box_boms.php b/htdocs/core/boxes/box_boms.php index 23e525fc00b..fb0bdeb0625 100644 --- a/htdocs/core/boxes/box_boms.php +++ b/htdocs/core/boxes/box_boms.php @@ -135,6 +135,17 @@ class box_boms extends ModeleBoxes 'asis' => 1, ); + if (!empty($conf->global->BOM_BOX_LAST_BOMS_SHOW_VALIDATE_USER)) { + if ($objp->fk_user_valid > 0) { + $userstatic->fetch($objp->fk_user_valid); + } + $this->info_box_contents[$line][] = array( + 'td' => 'class="right"', + 'text' => (($objp->fk_user_valid > 0) ? $userstatic->getNomUrl(1) : ''), + 'asis' => 1, + ); + } + $this->info_box_contents[$line][] = array( 'td' => 'class="right"', 'text' => dol_print_date($datem, 'day', 'tzuserrel'),