FIX : We need to see unit line on PDF even though it's an option
This commit is contained in:
parent
4f5c5356c5
commit
25994e61bc
@ -1826,7 +1826,6 @@ function pdf_getlineunit($object, $i, $outputlangs, $hidedetails = 0, $hookmanag
|
||||
}
|
||||
if (empty($reshook))
|
||||
{
|
||||
if ($object->lines[$i]->special_code == 3) return '';
|
||||
if (empty($hidedetails) || $hidedetails > 1) $result.=$langs->transnoentitiesnoconv($object->lines[$i]->getLabelOfUnit('short'));
|
||||
}
|
||||
return $result;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user