From bc2e095dec71212cb3dc6613605c4466a0cedaff Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 17 May 2023 01:09:09 +0200 Subject: [PATCH] Debug v18 --- htdocs/core/boxes/box_members_last_subscriptions.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/core/boxes/box_members_last_subscriptions.php b/htdocs/core/boxes/box_members_last_subscriptions.php index 96dbd97ae35..e7f1d99137d 100644 --- a/htdocs/core/boxes/box_members_last_subscriptions.php +++ b/htdocs/core/boxes/box_members_last_subscriptions.php @@ -146,9 +146,10 @@ class box_members_last_subscriptions extends ModeleBoxes 'asis' => 1, ); + $daterange = get_date_range($this->db->jdate($obj->date_start), $this->db->jdate($obj->date_end)); $this->info_box_contents[$line][] = array( - 'td' => 'class="tdoverflowmax150 maxwidth150onsmartphone"', - 'text' => get_date_range($this->db->jdate($obj->date_start), $this->db->jdate($obj->date_end)), + 'td' => 'class="tdoverflowmax150 maxwidth150onsmartphone" title="'.dol_escape_htmltag($daterange).'"', + 'text' => $daterange, ); $this->info_box_contents[$line][] = array( @@ -157,7 +158,7 @@ class box_members_last_subscriptions extends ModeleBoxes ); $this->info_box_contents[$line][] = array( - 'td' => 'class="right tdoverflowmax150 maxwidth150onsmartphone"', + 'td' => 'class="right tdoverflowmax150 maxwidth150onsmartphone" title="'.dol_escape_htmltag($langs->trans("DateModification").': '.dol_print_date($obj->datem, 'dayhour', 'tzuserrel')).'"', 'text' => dol_print_date($this->db->jdate($obj->datem ? $obj->datem : $obj->datec), 'dayhour', 'tzuserrel'), );