From ab4dbcf5aecadae3a36130a82914f0531941031b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 Jun 2021 15:41:48 +0200 Subject: [PATCH] Update box_mos.php --- htdocs/core/boxes/box_mos.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/htdocs/core/boxes/box_mos.php b/htdocs/core/boxes/box_mos.php index 171d129dbd3..8305bbabf32 100644 --- a/htdocs/core/boxes/box_mos.php +++ b/htdocs/core/boxes/box_mos.php @@ -132,6 +132,17 @@ class box_mos extends ModeleBoxes 'asis' => 1, ); + if (!empty($conf->global->MRP_BOX_LAST_MOS_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="center nowraponall"', 'text' => dol_print_date($datem, 'day', 'tzuserrel'),