Fix bad links

This commit is contained in:
Laurent Destailleur 2018-03-07 15:13:22 +01:00
parent a597dc8b11
commit 05c1150477

View File

@ -107,7 +107,8 @@ class modStripe extends DolibarrModules
); // 0=Menu for internal users, 1=external users, 2=both ); // 0=Menu for internal users, 1=external users, 2=both
$r++; $r++;
$this->menu[$r] = array('fk_menu'=>'fk_mainmenu=bank', $this->menu[$r] = array(
'fk_menu'=>'fk_mainmenu=bank',
'type'=>'left', 'type'=>'left',
'titre'=>'StripeAccount', 'titre'=>'StripeAccount',
'mainmenu'=>'bank', 'mainmenu'=>'bank',
@ -115,7 +116,7 @@ class modStripe extends DolibarrModules
'url' => '/stripe/charge.php', 'url' => '/stripe/charge.php',
'langs' => 'stripe', 'langs' => 'stripe',
'position' => 100, 'position' => 100,
'enabled' => '1', 'enabled' => '$conf->global->MAIN_FEATURES_LEVEL >= 2',
'perms' => '$user->rights->banque->configurer', 'perms' => '$user->rights->banque->configurer',
'target' => '', 'target' => '',
'user' => 0 'user' => 0
@ -129,7 +130,7 @@ class modStripe extends DolibarrModules
'url' => '/stripe/charge.php', 'url' => '/stripe/charge.php',
'langs' => 'stripe', 'langs' => 'stripe',
'position' => 102, 'position' => 102,
'enabled' => '$conf->stripe->enabled && $conf->banque->enabled', 'enabled' => '$conf->stripe->enabled && $conf->banque->enabled && $conf->global->MAIN_FEATURES_LEVEL >= 2',
'perms' => '$user->rights->banque->configurer', 'perms' => '$user->rights->banque->configurer',
'target' => '', 'target' => '',
'user' => 0 'user' => 0
@ -143,7 +144,7 @@ class modStripe extends DolibarrModules
'url' => '/stripe/transaction.php', 'url' => '/stripe/transaction.php',
'langs' => 'stripe', 'langs' => 'stripe',
'position' => 102, 'position' => 102,
'enabled' => '$conf->stripe->enabled && $conf->banque->enabled', 'enabled' => '$conf->stripe->enabled && $conf->banque->enabled && $conf->global->MAIN_FEATURES_LEVEL >= 2',
'perms' => '$user->rights->banque->configurer', 'perms' => '$user->rights->banque->configurer',
'target' => '', 'target' => '',
'user' => 0 'user' => 0