mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
add new dolGetStatus to LibStatut in product class
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user