Fix regression
This commit is contained in:
parent
d153918a10
commit
558e0cb5f6
@ -1263,8 +1263,10 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
|
|||||||
if (! empty($prodser->multilangs[$outputlangs->defaultlang]["note"]) && ($textwasmodified || $translatealsoifmodified)) $note=$prodser->multilangs[$outputlangs->defaultlang]["note"];
|
if (! empty($prodser->multilangs[$outputlangs->defaultlang]["note"]) && ($textwasmodified || $translatealsoifmodified)) $note=$prodser->multilangs[$outputlangs->defaultlang]["note"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif ($object->type == Facture::TYPE_DEPOSIT && $object->element == 'facture') {
|
elseif ($object->element == 'facture' || $object->element == 'facturefourn') {
|
||||||
$desc = str_replace('(DEPOSIT)', $outputlangs->trans('Deposit'), $desc);
|
if ($object->type == $object::TYPE_DEPOSIT) {
|
||||||
|
$desc = str_replace('(DEPOSIT)', $outputlangs->trans('Deposit'), $desc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Description short of product line
|
// Description short of product line
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user