diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php
index 15a07ea4264..6250dc0226e 100644
--- a/htdocs/product/fiche.php
+++ b/htdocs/product/fiche.php
@@ -733,11 +733,15 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
print '
| ';
print_titre($langs->trans("AddToMyProposals")) . ' | ';
- if (!$user->rights->commercial->client->voir)
+ if ($user->rights->commercial->client->voir)
{
print '';
print_titre($langs->trans("AddToOtherProposals")) . ' | ';
}
+ else
+ {
+ print ' | ';
+ }
print '
';
@@ -787,7 +791,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
print '';
- if (!$user->rights->commercial->client->voir)
+ if ($user->rights->commercial->client->voir)
{
// Liste de "Other propals"
print '';
@@ -832,11 +836,15 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
print ' | | ';
print_titre($langs->trans("AddToMyOrders")) . ' | ';
- if (!$user->rights->commercial->client->voir)
+ if ($user->rights->commercial->client->voir)
{
print '';
print_titre($langs->trans("AddToOtherOrders")) . ' | ';
}
+ else
+ {
+ print ' | ';
+ }
print '
';
@@ -888,7 +896,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
print '';
- if (!$user->rights->commercial->client->voir)
+ if ($user->rights->commercial->client->voir)
{
// Liste de "Other orders"
print '';
@@ -929,11 +937,15 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
print ' | | ';
print_titre($langs->trans("AddToMyBills"));
- if (!$user->rights->commercial->client->voir)
+ if ($user->rights->commercial->client->voir)
{
print ' | ';
print_titre($langs->trans("AddToOtherBills"));
}
+ else
+ {
+ print ' | | ';
+ }
print '
';
@@ -989,7 +1001,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
print '';
- if (!$user->rights->commercial->client->voir)
+ if ($user->rights->commercial->client->voir)
{
print '';
|