@@ -132,7 +132,7 @@ class modMarges extends DolibarrModules
'mainmenu'=>'margins',
'leftmenu'=>'1',// Use 1 if you also want to add left menu entries using this descriptor. Use 0 if left menu entries are defined in a file pre.inc.php (old school).
'url'=>'/marges/index.php',
'langs'=>'marges@marges',// Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
'langs'=>'marges',// Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
'position'=>100,
'enabled'=>'1',// Define condition to show or hide menu entry. Use '$conf->monmodule->enabled' if entry must be visible if module is enabled.
'perms'=>'1',// Use 'perms'=>'$user->rights->monmodule->level1->level2' if you want your menu with a permission rules
...
...
@@ -146,7 +146,7 @@ class modMarges extends DolibarrModules
'titre'=>'ProductMargins',
'mainmenu'=>'margins',
'url'=>'/marges/productMargins.php',
'langs'=>'marges@marges',// Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
'langs'=>'marges',// Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
'position'=>100,
'enabled'=>'1',// Define condition to show or hide menu entry. Use '$conf->monmodule->enabled' if entry must be visible if module is enabled.
'perms'=>'1',// Use 'perms'=>'$user->rights->monmodule->level1->level2' if you want your menu with a permission rules
...
...
@@ -159,7 +159,7 @@ class modMarges extends DolibarrModules
'titre'=>'CustomerMargins',
'mainmenu'=>'margins',
'url'=>'/marges/customerMargins.php',
'langs'=>'marges@marges',// Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
'langs'=>'marges',// Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
'position'=>200,
'enabled'=>'1',// Define condition to show or hide menu entry. Use '$conf->monmodule->enabled' if entry must be visible if module is enabled.
'perms'=>'1',// Use 'perms'=>'$user->rights->monmodule->level1->level2' if you want your menu with a permission rules
...
...
@@ -172,7 +172,7 @@ class modMarges extends DolibarrModules
'titre'=>'AgentMargins',
'mainmenu'=>'margins',
'url'=>'/marges/agentMargins.php',
'langs'=>'marges@marges',// Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
'langs'=>'marges',// Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory.
'position'=>300,
'enabled'=>'1',// Define condition to show or hide menu entry. Use '$conf->monmodule->enabled' if entry must be visible if module is enabled.
'perms'=>'1',// Use 'perms'=>'$user->rights->monmodule->level1->level2' if you want your menu with a permission rules
...
...
@@ -220,7 +220,7 @@ class modMarges extends DolibarrModules