Suppression de l'action d'edition du stock
This commit is contained in:
parent
0b15f967d9
commit
22432324ac
@ -1,5 +1,5 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -235,15 +235,6 @@ else
|
|||||||
|
|
||||||
print "<br><div class=\"tabsAction\">\n";
|
print "<br><div class=\"tabsAction\">\n";
|
||||||
|
|
||||||
if ($_GET["action"] == '')
|
|
||||||
{
|
|
||||||
if ($user->rights->produit->modifier || $user->rights->produit->creer)
|
|
||||||
{
|
|
||||||
print '<a class="tabAction" href="../fiche.php?action=edit&id='.$product->id.'">Editer</a>';
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
print '<a class="tabAction" href="product.php?id='.$product->id.'&action=correction">Correction stock</a>';
|
print '<a class="tabAction" href="product.php?id='.$product->id.'&action=correction">Correction stock</a>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user