diff --git a/htdocs/commande/list_det.php b/htdocs/commande/list_det.php
index fd36f229e5c..385408663fd 100644
--- a/htdocs/commande/list_det.php
+++ b/htdocs/commande/list_det.php
@@ -830,10 +830,6 @@ if ($resql) {
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'order', 0, $newcardbutton, '', $limit, 0, 0, 1);
- print '';
- print '';
- print '';
-
$topicmail = "SendOrderRef";
$modelmail = "order_send";
$objecttmp = new Commande($db);
@@ -849,6 +845,11 @@ if ($resql) {
$moreforfilter = '';
+ $moreforfilter .= '';
+ $moreforfilter .= '';
+ $moreforfilter .= '';
+ $moreforfilter .= '
';
+
// If the user can view prospects other than his'
if ($user->rights->user->user->lire) {
$langs->load("commercial");
@@ -888,6 +889,8 @@ if ($resql) {
$moreforfilter .= img_picto($tmptitle, 'stock', 'class="pictofixedwidth"').$formproduct->selectWarehouses($search_warehouse, 'search_warehouse', '', 1, 0, 0, $tmptitle, 0, 0, array(), 'maxwidth250 widthcentpercentminusx');
$moreforfilter .= '';
}
+
+
$parameters = array();
$reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters); // Note that $action and $object may have been modified by hook
if (empty($reshook)) {