Revert "NEW: Accountancy - Add closure menu in stable version"

This reverts commit 98e7bb4b0e.
This commit is contained in:
Alexandre SPANGARO 2021-01-03 11:53:10 +01:00
parent 98e7bb4b0e
commit 02fdb75ac5

View File

@ -1332,7 +1332,9 @@ function print_left_eldy_menu($db, $menu_array_before, $menu_array_after, &$tabM
}
// Closure
$newmenu->add("/accountancy/closure/index.php?mainmenu=accountancy&leftmenu=accountancy_closure", $langs->trans("MenuAccountancyClosure"), 1, $user->rights->accounting->fiscalyear->write, '', $mainmenu, 'closure');
if (!empty($conf->global->MAIN_FEATURES_LEVEL) && $conf->global->MAIN_FEATURES_LEVEL >= 2) {
$newmenu->add("/accountancy/closure/index.php?mainmenu=accountancy&leftmenu=accountancy_closure", $langs->trans("MenuAccountancyClosure"), 1, $user->rights->accounting->fiscalyear->write, '', $mainmenu, 'closure');
}
// Reports
$newmenu->add("/accountancy/index.php?leftmenu=accountancy_report", $langs->trans("Reportings"), 1, $user->rights->accounting->comptarapport->lire, '', $mainmenu, 'ca');