diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index cae3f74aa8f..15a07ea4264 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -732,8 +732,13 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente) print ''; print_titre($langs->trans("AddToMyProposals")) . ''; + + if (!$user->rights->commercial->client->voir) + { print ''; print_titre($langs->trans("AddToOtherProposals")) . ''; + } + print ''; // Liste de "Mes propals" @@ -826,8 +831,13 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente) print ''; print_titre($langs->trans("AddToMyOrders")) . ''; + + if (!$user->rights->commercial->client->voir) + { print ''; print_titre($langs->trans("AddToOtherOrders")) . ''; + } + print ''; // Liste de "Mes commandes" @@ -918,8 +928,13 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente) print ''; print_titre($langs->trans("AddToMyBills")); + + if (!$user->rights->commercial->client->voir) + { print ''; print_titre($langs->trans("AddToOtherBills")); + } + print ''; // Liste de Mes factures