Update commondocgenerator.class.php

This commit is contained in:
Laurent Destailleur 2017-10-22 04:07:54 +02:00 committed by GitHub
parent fc2a834e41
commit b9c0ea3691

View File

@ -511,8 +511,8 @@ abstract class CommonDocGenerator
'line_multicurrency_total_ttc_locale' => price($line->multicurrency_total_ttc, 0, $outputlangs),
// Units
'line_unit'=>$line->getLabelOfUnit('long'),
'line_unit_short'=>$line->getLabelOfUnit('short'),
'line_unit'=>$outputlangs->trans($line->getLabelOfUnit('long')),
'line_unit_short'=>$outputlangs->trans($line->getLabelOfUnit('short')),
);
// Retrieve extrafields