From a979542c09a147da14cbc9f8382db11bf2fbcb3b Mon Sep 17 00:00:00 2001 From: John BOTELLA <68917336+thersane-john@users.noreply.github.com> Date: Fri, 22 May 2026 21:34:40 +0200 Subject: [PATCH] New html attribute for batch table (#38342) * New html attribute for batch table * Add flag * use dolPrintHTMLForAttribute --------- Co-authored-by: Laurent Destailleur --- htdocs/fourn/commande/dispatch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php index c595dd3aae7..b01077beae7 100644 --- a/htdocs/fourn/commande/dispatch.php +++ b/htdocs/fourn/commande/dispatch.php @@ -1319,7 +1319,7 @@ if ($id > 0 || !empty($ref)) { include_once DOL_DOCUMENT_ROOT.'/product/stock/class/productlot.class.php'; $lot = new Productlot($db); $lot->fetch(0, $objp->pid, $objp->batch); - print ''.$lot->getNomUrl(1).''; + print ''.$lot->getNomUrl(1).''; if (!getDolGlobalString('PRODUCT_DISABLE_SELLBY')) { print ''.dol_print_date($lot->sellby, 'day').''; } @@ -1327,7 +1327,7 @@ if ($id > 0 || !empty($ref)) { print ''.dol_print_date($lot->eatby, 'day').''; } } else { - print ''; + print ''; if (!getDolGlobalString('PRODUCT_DISABLE_SELLBY')) { print ''; }