diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php
index c090fa7e7ca..cae3f74aa8f 100644
--- a/htdocs/product/fiche.php
+++ b/htdocs/product/fiche.php
@@ -782,6 +782,8 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
print '';
+ if (!$user->rights->commercial->client->voir)
+ {
// Liste de "Other propals"
print '
';
@@ -807,6 +809,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
else {
print $langs->trans("NoOtherOpenedPropals");
}
+ }
print ' | ';
print '';
@@ -875,6 +878,8 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
print '';
+ if (!$user->rights->commercial->client->voir)
+ {
// Liste de "Other orders"
print '';
@@ -900,6 +905,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
else {
print $langs->trans("NoOtherOpenedOrders");
}
+ }
print ' | ';
print '';
@@ -966,7 +972,11 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
dolibarr_print_error($db);
}
- print '';
+ print ' | ';
+
+ if (!$user->rights->commercial->client->voir)
+ {
+ print '';
// Liste de Autres factures
$var=true;
@@ -1018,6 +1028,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
{
dolibarr_print_error($db);
}
+ }
print ' | ';
}