From fdf6c32fbc708fd3f3d74b607fc73f2779959637 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 13 Aug 2015 12:47:04 +0200 Subject: [PATCH] Fix: place the form outside the table for avoid errors --- htdocs/product/stock/mouvement.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 177d8c5e0b3..5622899c052 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -414,6 +414,10 @@ if ($resql) if ($id) print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder,'',$num,0,''); else print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder,'',$num); + + print '
'; + if ($id) print ''; + print ''; print ""; //print_liste_field_titre($langs->trans("Id"),$_SERVER["PHP_SELF"], "m.rowid","",$param,"",$sortfield,$sortorder); @@ -428,9 +432,6 @@ if ($resql) print "\n"; // Lignes des champs de filtre - print ''; - if ($id) print ''; - print ''; print ''; print "\n"; - print ''; $arrayofuniqueproduct=array(); @@ -526,7 +526,7 @@ if ($resql) } $db->free($resql); - print "
'; print $langs->trans('Month').': '; @@ -465,7 +466,6 @@ if ($resql) print ''; print '

"; + print "
"; // Add number of product when there is a filter on period if (count($arrayofuniqueproduct) == 1 && is_numeric($year))