Hide the label into pdf document for variants
This commit is contained in:
parent
b8b9b73714
commit
e72fbbfe17
@ -1315,7 +1315,11 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
|
|||||||
{
|
{
|
||||||
$libelleproduitservice = $desc."\n".$libelleproduitservice;
|
$libelleproduitservice = $desc."\n".$libelleproduitservice;
|
||||||
} else {
|
} else {
|
||||||
$libelleproduitservice .= $desc;
|
if (!empty($conf->global->HIDE_LABEL_VARIANT_PDF)) {
|
||||||
|
$libelleproduitservice = $desc;
|
||||||
|
} else {
|
||||||
|
$libelleproduitservice .= $desc;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user