From 9cd7af264856bfc875beccda3ba14435bfff476c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 26 Feb 2026 09:23:51 +0100 Subject: [PATCH] Trans --- htdocs/compta/cashcontrol/class/cashcontrol.class.php | 2 +- htdocs/compta/cashcontrol/report.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/cashcontrol/class/cashcontrol.class.php b/htdocs/compta/cashcontrol/class/cashcontrol.class.php index 3fdec7cbf94..709ffee5325 100644 --- a/htdocs/compta/cashcontrol/class/cashcontrol.class.php +++ b/htdocs/compta/cashcontrol/class/cashcontrol.class.php @@ -101,7 +101,7 @@ class CashControl extends CommonObject 'fk_user_creat' => array('type' => 'integer:User', 'label' => 'UserCreation', 'enabled' => 1, 'visible' => -1, 'notnull' => 1, 'position' => 600), 'fk_user_valid' => array('type' => 'integer:User', 'label' => 'UserValidation', 'enabled' => 1, 'visible' => -1, 'notnull' => 1, 'position' => 602), 'import_key' => array('type' => 'varchar(14)', 'label' => 'Import key', 'enabled' => 1, 'visible' => 0, 'position' => 700), - 'status' => array('type' => 'integer', 'label' => 'Status', 'enabled' => 1, 'visible' => 1, 'position' => 1000, 'notnull' => 1, 'index' => 1, 'arrayofkeyval' => array('0' => 'Draft', '1' => 'Validated')), + 'status' => array('type' => 'integer', 'label' => 'Status', 'enabled' => 1, 'visible' => 1, 'position' => 1000, 'notnull' => 1, 'index' => 1, 'arrayofkeyval' => array('0' => 'Draft', '1' => 'Closed')), ); /** diff --git a/htdocs/compta/cashcontrol/report.php b/htdocs/compta/cashcontrol/report.php index 433a1461b73..7bcff4361ca 100644 --- a/htdocs/compta/cashcontrol/report.php +++ b/htdocs/compta/cashcontrol/report.php @@ -175,7 +175,7 @@ if ($resql) { $uservalid = new User($db); if ($userauthor > 0) { $uservalid->fetch($userauthor); - print '
'.$langs->trans("Author").': '.$uservalid->getFullName($langs); + print ' - '.$langs->trans("Author").': '.$uservalid->getFullName($langs); } print '
'.$langs->trans("Period").': '.$object->year_close.($object->month_close ? '-'.sprintf("%02d", $object->month_close) : '').($object->day_close ? '-'.sprintf("%02d", $object->day_close) : ''); print '';