diff --git a/htdocs/product/stock/liste.php b/htdocs/product/stock/liste.php index 0e1e6fe80bd..b35ad30f7eb 100644 --- a/htdocs/product/stock/liste.php +++ b/htdocs/product/stock/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 @@ -46,8 +46,8 @@ if (! $sortfield) $sortfield="e.label"; if (! $sortorder) $sortorder="ASC"; -$sql = "SELECT e.rowid as ref, e.label, e.statut, e.lieu, e.address, e.cp, e.ville, e.fk_pays"; -$sql.= " FROM ".MAIN_DB_PREFIX."entrepot as e"; +$sql = "SELECT e.rowid as ref, e.label, e.statut, e.lieu, e.address, e.cp, e.ville, e.fk_pays"; +$sql .= " FROM ".MAIN_DB_PREFIX."entrepot as e"; $sql .= " ORDER BY $sortfield $sortorder"; $sql .= $db->plimit($limit + 1 ,$offset); $result = $db->query($sql) ; @@ -83,7 +83,7 @@ if ($result) print ''.img_object($langs->trans("ShowWarehouse"),'stock').' '.$objp->ref.''; print ''.$objp->label.''; print ''.$entrepot->LibStatut($objp->statut).''; - print ''.$entrepot->lieu.''; + print ''.$objp->lieu.''; print "\n"; $i++; }