402 |
|
|
403 |
if ($_GET["action"] == '' ) |
if ($_GET["action"] == '' ) |
404 |
{ |
{ |
405 |
if (!$user->rights->stock->mouvement->creer) |
if ($user->rights->stock->mouvement->creer) |
406 |
{ |
{ |
407 |
print '<a class="tabAction" href="product.php?id='.$product->id.'&action=transfert">Transfert</a>'; |
print '<a class="tabAction" href="product.php?id='.$product->id.'&action=transfert">Transfert</a>'; |
408 |
} |
} |
409 |
|
|
410 |
if (!$user->rights->stock->creer) |
if ($user->rights->stock->creer) |
411 |
{ |
{ |
412 |
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>'; |
413 |
} |
} |