Added MAIN_DOCUMENTS_DESCRIPTION_FIRST option to allow desc to appear before product/service label in documents
This commit is contained in:
parent
15a4cdcc9c
commit
083acb1af5
@ -1228,7 +1228,17 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl
|
|||||||
{
|
{
|
||||||
if ($idprod)
|
if ($idprod)
|
||||||
{
|
{
|
||||||
if (empty($hidedesc)) $libelleproduitservice.=$desc;
|
if (empty($hidedesc))
|
||||||
|
{
|
||||||
|
if (!empty($conf->global->MAIN_DOCUMENTS_DESCRIPTION_FIRST))
|
||||||
|
{
|
||||||
|
$libelleproduitservice=$desc."\n".$libelleproduitservice;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$libelleproduitservice.=$desc;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user