diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 249d9cd2d26..9226050d805 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,12 +20,20 @@ * $Source$ * */ + +/** \file htdocs/product/stock/mouvement.php + \group stock + \brief Page liste des mouvements de stocks + \version $Revision$ +*/ + require("./pre.inc.php"); $user->getrights('produit'); if (!$user->rights->produit->lire) accessforbidden(); + /* * * @@ -68,12 +76,12 @@ if ($result) print_barre_liste($texte, $page, "mouvement.php", "&sref=$sref&snom=$snom", $sortfield, $sortorder,'',$num); - print ''; + print '
'; print ""; print_liste_field_titre($langs->trans("Ref"),"mouvement.php", "p.ref",""); print ""; - print_liste_field_titre("Date","mouvement.php", "m.datem",""); - print_liste_field_titre("Entrepôt","mouvement.php", "s.label",""); + print_liste_field_titre($langs->trans("Date"),"mouvement.php", "m.datem",""); + print_liste_field_titre($langs->trans("Warehouse"),"mouvement.php", "s.label",""); print "\n"; $var=True; @@ -96,7 +104,7 @@ if ($result) } else { - print $db->error() . "
" .$sql; + dolibarr_print_error($db); }
Unités