From f123ab7081977706a118f44aa5aa63303f7c0cbb Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 23 Aug 2005 21:08:34 +0000 Subject: [PATCH] Ajout lien nouveau client --- htdocs/telephonie/contrat/pre.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/telephonie/contrat/pre.inc.php b/htdocs/telephonie/contrat/pre.inc.php index 8c287ad79c8..f53ff6d2471 100644 --- a/htdocs/telephonie/contrat/pre.inc.php +++ b/htdocs/telephonie/contrat/pre.inc.php @@ -43,6 +43,8 @@ function llxHeader($head = "", $title="") { $menu->add(DOL_URL_ROOT."/telephonie/simulation/fiche.php", "Simulation"); $menu->add(DOL_URL_ROOT."/telephonie/client/index.php", "Clients"); + if ($user->rights->telephonie->ligne->creer) + $menu->add_submenu(DOL_URL_ROOT."/telephonie/client/new.php", "Nouveau client"); $menu->add(DOL_URL_ROOT."/telephonie/contrat/", "Contrats");