diff --git a/htdocs/telephonie/contrat/fiche.php b/htdocs/telephonie/contrat/fiche.php index 8cef306a14e..455a8395966 100644 --- a/htdocs/telephonie/contrat/fiche.php +++ b/htdocs/telephonie/contrat/fiche.php @@ -912,11 +912,11 @@ else } /* - * Contact + * Prise d'ordre * * */ - if ($_GET["action"] == 'po') + if ($_GET["action"] == 'po' && $po == 0) { print_fiche_titre('Ajouter une prise d\'ordre'); @@ -969,7 +969,7 @@ if ($_GET["action"] == '') print "id\">".$langs->trans("Contact").""; - if ($user->rights->telephonie->ligne->creer) + if ($user->rights->telephonie->ligne->creer && $po == 0) { print "id\">Ajouter une prise d'ordre"; }