add new dolGetStatus to LibStatut in product class

This commit is contained in:
John BOTELLA
2019-03-07 11:37:54 +01:00
parent 5ea5d51247
commit ca10b1e403
2 changed files with 65 additions and 65 deletions

View File

@@ -3460,6 +3460,12 @@ class Commande extends CommonOrder
$labelstatutShort = $langs->trans('StatusOrderDelivered');
$statuttrans='status6';
}
else{
$labelstatut = $langs->trans('Unknown');
$labelstatutShort = '';
$statuttrans='';
$mode = 0;
}
return dolGetStatus($labelstatut, $labelstatutShort, '', $statuttrans, $mode);
}