diff --git a/htdocs/fourn/commande/list.php b/htdocs/fourn/commande/list.php
index a294d2a4712..0aae47cd7fc 100644
--- a/htdocs/fourn/commande/list.php
+++ b/htdocs/fourn/commande/list.php
@@ -1537,7 +1537,15 @@ if ($resql) {
}
// Status
if (!empty($arrayfields['cf.fk_statut']['checked'])) {
- print '
'.$objectstatic->LibStatut($obj->fk_statut, 5, $obj->billed).' | ';
+ $parameters = array('obj' => $obj);
+ $morehtmlstatus = $objectstatic->LibStatut($obj->fk_statut, 5, $obj->billed);
+ $reshook = $hookmanager->executeHooks('moreHtmlStatus', $parameters, $object); // Note that $action and $object may have been modified by hook
+ if (empty($reshook)) {
+ $morehtmlstatus .= $hookmanager->resPrint;
+ } else {
+ $morehtmlstatus = $hookmanager->resPrint;
+ }
+ print '' . $morehtmlstatus . ' | ';
if (!$i) {
$totalarray['nbfield']++;
}