Merge pull request #11944 from oscim/patch-5
Update livraison.class.php
This commit is contained in:
commit
1360652b5a
@ -844,6 +844,12 @@ class Livraison extends CommonObject
|
||||
elseif ($statut==0) return $langs->trans($this->statuts[$statut]);
|
||||
elseif ($statut==1) return $langs->trans($this->statuts[$statut]);
|
||||
}
|
||||
elseif ($mode == 3)
|
||||
{
|
||||
if ($statut==-1) return img_picto($langs->trans('StatusDeliveryCanceled'), 'statut5');
|
||||
if ($statut==0) return img_picto($langs->trans('StatusDeliveryDraft'), 'statut0');
|
||||
if ($statut==1) return img_picto($langs->trans('StatusDeliveryValidated'), 'statut4');
|
||||
}
|
||||
elseif ($mode == 4)
|
||||
{
|
||||
if ($statut==-1) return img_picto($langs->trans('StatusDeliveryCanceled'), 'statut5').' '.$langs->trans('StatusDeliveryCanceled');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user