Merge pull request #15066 from louiscarrese/develop

CLOSE #15065 Put the product label in bold in the PDF templates if co…
This commit is contained in:
Laurent Destailleur 2020-10-22 15:53:43 +02:00 committed by GitHub
commit 763d0baa14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1278,6 +1278,9 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
// Description short of product line
$libelleproduitservice = $label;
if (!empty($libelleproduitservice) && !empty($conf->global->PDF_BOLD_PRODUCT_LABEL)) {
$libelleproduitservice = '<b>' . $libelleproduitservice . '</b>';
}
// Description long of product line
if (!empty($desc) && ($desc != $label))