mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Ajout lien nouveau client
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
*/
|
||||
|
||||
require("../main.inc.php");
|
||||
$user->getrights();
|
||||
$langs->load("companies");
|
||||
|
||||
|
||||
function llxHeader($head = "", $urlp = "") {
|
||||
global $user, $conf, $langs;
|
||||
@@ -38,6 +41,11 @@ function llxHeader($head = "", $urlp = "") {
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/comm/clients.php", $langs->trans("Customers"));
|
||||
|
||||
if ($user->rights->societe->creer)
|
||||
{
|
||||
$menu->add_submenu(DOL_URL_ROOT."/soc.php?action=create&type=c", $langs->trans("MenuNewCustomer"));
|
||||
}
|
||||
|
||||
$menu->add_submenu(DOL_URL_ROOT."/comm/contact.php?type=c", $langs->trans("Contacts"));
|
||||
|
||||
$menu->add(DOL_URL_ROOT."/comm/prospect/prospects.php", $langs->trans("Prospects"));
|
||||
|
||||
Reference in New Issue
Block a user