Merge pull request #13685 from laurpaum/expensereport-status-pdf

FIX expensereport status in generated pdf
This commit is contained in:
Laurent Destailleur 2020-04-22 00:36:54 +02:00 committed by GitHub
commit 7587e38302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -704,8 +704,8 @@ class ExpenseReport extends CommonObject
// phpcs:enable
global $langs;
$labelStatus = $langs->trans($this->statuts[$status]);
$labelStatusShort = $langs->trans($this->statuts_short[$status]);
$labelStatus = $langs->transnoentitiesnoconv($this->statuts[$status]);
$labelStatusShort = $langs->transnoentitiesnoconv($this->statuts_short[$status]);
$statusType = $this->statuts_logo[$status];