diff --git a/htdocs/product/index.php b/htdocs/product/index.php index 22a7b42f09b..c561649f125 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -1,6 +1,7 @@ * Copyright (C) 2004-2006 Laurent Destailleur + * Copyright (C) 2005-2006 Regis Houssin * * 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 diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index 5112fa4b05a..514c578d712 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -1,6 +1,7 @@ * Copyright (C) 2004-2006 Laurent Destailleur + * Copyright (C) 2005-2006 Regis Houssin * * 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 diff --git a/htdocs/product/popuprop.php b/htdocs/product/popuprop.php index e4ae0461a24..f598e4cfb8a 100644 --- a/htdocs/product/popuprop.php +++ b/htdocs/product/popuprop.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2003 Rodolphe Quiedeville * Copyright (C) 2004-2005 Laurent Destailleur * Copyright (C) 2004 Eric Seigne + * Copyright (C) 2005-2006 Regis Houssin * * 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 diff --git a/htdocs/product/stats/index.php b/htdocs/product/stats/index.php index ea17190ee0c..d9bdfb939f3 100644 --- a/htdocs/product/stats/index.php +++ b/htdocs/product/stats/index.php @@ -1,6 +1,7 @@ * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2005-2006 Regis Houssin * * 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 diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index 6366c5c54d6..a8ab2354964 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -1,7 +1,8 @@ * Copyright (C) 2004-2005 Laurent Destailleur - * Copyright (C) 2005 Simon Tosser + * Copyright (C) 2005 Simon Tosser + * Copyright (C) 2005-2006 Regis Houssin * * 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 @@ -272,7 +273,7 @@ else print "".$langs->trans("Units").""; print "\n"; - $sql = "SELECT p.rowid as rowid, p.label as produit, ps.reel as value "; + $sql = "SELECT p.rowid as rowid, p.ref, p.label as produit, ps.reel as value "; $sql .= " FROM ".MAIN_DB_PREFIX."product_stock ps, ".MAIN_DB_PREFIX."product p "; if ($conf->categorie->enabled && !$user->rights->categorie->voir) { @@ -318,8 +319,9 @@ else print ""; //print ''.dolibarr_print_date($objp->datem).''; print "rowid\">"; - print img_object($langs->trans("ShowProduct"),"product").' '.$objp->produit; + print img_object($langs->trans("ShowProduct"),"product").' '.$objp->ref; print "\n"; + print ''.$objp->produit.'\n'; print ''.$objp->value.''; //print "entrepot_id\">"; //print img_object($langs->trans("ShowWarehous"),"stock").' '.$objp->stock; diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 5b81ad74a49..9c4c1cd3d38 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -1,6 +1,7 @@ * Copyright (C) 2004-2005 Laurent Destailleur + * Copyright (C) 2005-2006 Regis Houssin * * 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