Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
This commit is contained in:
commit
9f3bedb7ea
@ -579,8 +579,10 @@ class pdf_standard extends ModeleExpenseReport
|
||||
}
|
||||
|
||||
$expensereporttypecode = $object->lines[$linenumber]->type_fees_code;
|
||||
$expensereporttypecodetoshow = $outputlangs->trans($expensereporttypecode);
|
||||
if ($expensereporttypecodetoshow == $expensereporttypecode) {
|
||||
$expensereporttypecodetoshow = ($outputlangs->trans(($expensereporttypecode)) == $expensereporttypecode ? $object->lines[$linenumber]->type_fees_libelle : $outputlangs->trans($expensereporttypecode));
|
||||
|
||||
|
||||
if ($expensereporttypecodetoshow == $expensereporttypecode) {
|
||||
$expensereporttypecodetoshow = preg_replace('/^(EX_|TF_)/', '', $expensereporttypecodetoshow);
|
||||
}
|
||||
//$expensereporttypecodetoshow = dol_trunc($expensereporttypecodetoshow, 9);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user