From b2db25bdf0fa1252a74a5eef266d92452b838252 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Jun 2026 01:41:25 +0200 Subject: [PATCH] Trans --- htdocs/blockedlog/admin/blockedlog_list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/blockedlog/admin/blockedlog_list.php b/htdocs/blockedlog/admin/blockedlog_list.php index 2319b7000c1..9ba73ae7411 100644 --- a/htdocs/blockedlog/admin/blockedlog_list.php +++ b/htdocs/blockedlog/admin/blockedlog_list.php @@ -864,7 +864,7 @@ if (is_array($blocks)) { } print '>'; print $langs->trans("TotalForThePeriod"); - print ' - '.($source ? $langs->trans("PointOfSale").' '.ucfirst($source) : $langs->trans("BackOffice")); + print ' - '.($source ? ($source == 'takepos' ? $langs->trans("PointOfSale").' ' : '').ucfirst($source) : $langs->trans("BackOffice")); print ' ('; if ($afilterexists) { print img_picto($langs->trans("ForPeriodAndFilters"), 'warning', 'class="pictofixedwidth"'); @@ -983,7 +983,7 @@ if (is_array($blocks)) { print '>'; print $langs->trans("TotalForLifetime"); - print ' - '.($source ? $langs->trans("PointOfSale").' '.ucfirst($source) : $langs->trans("BackOffice")); + print ' - '.($source ? ($source == 'takepos' ? $langs->trans("PointOfSale").' ' : '').ucfirst($source) : $langs->trans("BackOffice")); print ' ('.dol_print_date($firstrecorddate, 'dayhour', 'tzuserrel'); if (GETPOST('search_endyear') && $search_end && $search_end != -1) {