315 |
|
|
316 |
if ($_GET["action"] != 'add_price') { |
if ($_GET["action"] != 'add_price') { |
317 |
|
|
318 |
if (!$user->rights->produit->creer) |
if ($user->rights->produit->creer) |
319 |
{ |
{ |
320 |
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/fournisseurs.php?id='.$product->id.'&action=add_price">'; |
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/product/fournisseurs.php?id='.$product->id.'&action=add_price">'; |
321 |
print $langs->trans("AddSupplier").'</a>'; |
print $langs->trans("AddSupplier").'</a>'; |