Fix: missing return line
This commit is contained in:
parent
155dd92c6b
commit
5d881cec0d
@ -701,7 +701,7 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl
|
||||
// Description long of product line
|
||||
if ($desc && ($desc != $label))
|
||||
{
|
||||
if ( $libelleproduitservice && ! empty($hidedesc) ) $libelleproduitservice.="\n";
|
||||
if ( $libelleproduitservice && empty($hidedesc) ) $libelleproduitservice.="\n";
|
||||
|
||||
if ($desc == '(CREDIT_NOTE)' && $object->lines[$i]->fk_remise_except)
|
||||
{
|
||||
@ -713,7 +713,7 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl
|
||||
{
|
||||
if ($idprod)
|
||||
{
|
||||
if (! empty($hidedesc)) $libelleproduitservice.=$desc;
|
||||
if (empty($hidedesc)) $libelleproduitservice.=$desc;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user