diff --git a/htdocs/commande/liste.php b/htdocs/commande/liste.php index 231e9475314..ae781aa1bb7 100644 --- a/htdocs/commande/liste.php +++ b/htdocs/commande/liste.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 @@ -21,6 +21,13 @@ * */ +/** \file htdocs/commande/liste.php + \ingroup commande + \brief Page liste des commandes + \version $Revision$ +*/ + + require("./pre.inc.php"); $langs->load("orders"); @@ -106,8 +113,8 @@ if ( $db->query($sql) ) $var=!$var; print ""; - print "rowid\">".img_file()." $objp->ref\n"; - print "idp\">$objp->nom\n"; + print "rowid\">".img_object($langs->trans("ShowOrder"),"order")." ".$objp->ref."\n"; + print "idp\">".img_object($langs->trans("ShowCompany"),"company")." ".$objp->nom."\n"; $now = time(); $lim = 3600 * 24 * 15 ; @@ -129,7 +136,7 @@ if ( $db->query($sql) ) print " "; print strftime("%B",$objp->date_commande)."\n"; print " "; - print strftime("%Y",$objp->date_commande)."\n"; + print strftime("%Y",$objp->date_commande)."\n"; print ''.$generic_commande->statuts[$objp->fk_statut].''; print "\n"; @@ -142,11 +149,11 @@ if ( $db->query($sql) ) print ""; $db->free(); - } - else - { - print dolibarr_print_error($db); - } +} +else +{ + print dolibarr_print_error($db); +} $db->close(); llxFooter("Dernière modification $Date$ révision $Revision$");