Expedition class name was not being translated when creating invoice from it
This commit is contained in:
parent
ecaea4c575
commit
7a115a9216
@ -2084,6 +2084,7 @@ if ($action == 'create')
|
||||
$newclassname=$classname;
|
||||
if ($newclassname == 'Propal') $newclassname = 'CommercialProposal';
|
||||
elseif ($newclassname == 'Commande') $newclassname = 'Order';
|
||||
elseif ($newclassname == 'Expedition') $newclassname = 'Sending';
|
||||
|
||||
print '<tr><td>'.$langs->trans($newclassname).'</td><td colspan="2">'.$objectsrc->getNomUrl(1).'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans('TotalHT').'</td><td colspan="2">'.price($objectsrc->total_ht).'</td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user