From 886965be7604250b3e4fec896f119195be3b61bb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 26 Feb 2021 12:54:57 +0100 Subject: [PATCH] Show product on lot record tab document --- htdocs/product/stock/productlot_document.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/htdocs/product/stock/productlot_document.php b/htdocs/product/stock/productlot_document.php index db3e5aebe14..ca522f48da7 100644 --- a/htdocs/product/stock/productlot_document.php +++ b/htdocs/product/stock/productlot_document.php @@ -142,6 +142,13 @@ if ($object->id) print '
'; print ''; + // Product + print ''; + print ''; print ''; print '
'.$langs->trans("Product").''; + $producttmp = new Product($db); + $producttmp->fetch($object->fk_product); + print $producttmp->getNomUrl(1, 'stock')." - ".$producttmp->label; + print '
'.$langs->trans("NbOfAttachedFiles").''.count($filearray).'
'.$langs->trans("TotalSizeOfAttachedFiles").''.dol_print_size($totalsize, 1, 1).'
';