2 |
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
3 |
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net> |
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net> |
4 |
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> |
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> |
5 |
|
* Copyright (C) 2005 Simon TOSSER <simon@kornog-computing.com> |
6 |
* |
* |
7 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
8 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
195 |
if ($product->type == 0 && $conf->stock->enabled) |
if ($product->type == 0 && $conf->stock->enabled) |
196 |
{ |
{ |
197 |
print '<tr><td><a |
print '<tr><td><a |
198 |
href="DOL_URL_ROOT."/product/stock/product.php?id='.$product->id.'">'.$langs->trans("Stock").'</a></td>'; |
href=".DOL_URL_ROOT."/product/stock/product.php?id='.$product->id.'">'.$langs->trans("Stock").'</a></td>'; |
199 |
if ($product->no_stock) |
if ($product->no_stock) |
200 |
{ |
{ |
201 |
print "<td>Pas de définition de stock pour ce produit"; |
print "<td>Pas de définition de stock pour ce produit"; |