@@ -1918,6 +1918,7 @@ function get_left_menu_accountancy($mainmenu, &$newmenu, $usemenuhider = 1, $lef
19181918 if ($ usemenuhider || empty ($ leftmenu ) || preg_match ('/accountancy_report/ ' , $ leftmenu )) {
19191919 $ newmenu ->add ("/compta/resultat/index.php?leftmenu=accountancy_report " , $ langs ->trans ("MenuReportInOut " ), 2 , $ user ->hasRight ('accounting ' , 'comptarapport ' , 'lire ' ));
19201920 $ newmenu ->add ("/compta/resultat/clientfourn.php?leftmenu=accountancy_report " , $ langs ->trans ("ByPredefinedAccountGroups " ), 3 , $ user ->hasRight ('accounting ' , 'comptarapport ' , 'lire ' ));
1921+ $ newmenu ->add ("/compta/resultat/projects.php?leftmenu=accountancy_report " , $ langs ->trans ("ByProject " ), 3 , $ user ->hasRight ('accounting ' , 'comptarapport ' , 'lire ' ));
19211922
19221923 if (getDolGlobalInt ('MAIN_FEATURES_LEVEL ' ) >= 2 ) {
19231924 global $ mysoc ;
@@ -2018,6 +2019,7 @@ function get_left_menu_accountancy($mainmenu, &$newmenu, $usemenuhider = 1, $lef
20182019 if ($ usemenuhider || empty ($ leftmenu ) || preg_match ('/report/ ' , $ leftmenu )) {
20192020 $ newmenu ->add ("/compta/resultat/index.php?leftmenu=report " , $ langs ->trans ("MenuReportInOut " ), 1 , $ user ->hasRight ('compta ' , 'resultat ' , 'lire ' ));
20202021 $ newmenu ->add ("/compta/resultat/clientfourn.php?leftmenu=report " , $ langs ->trans ("ByPredefinedAccountGroups " ), 2 , $ user ->hasRight ('compta ' , 'resultat ' , 'lire ' ));
2022+ $ newmenu ->add ("/compta/resultat/projects.php?leftmenu=accountancy_report " , $ langs ->trans ("ByProject " ), 2 , $ user ->hasRight ('compta ' , 'resultat ' , 'lire ' ));
20212023 /* On verra ca avec module compabilite expert
20222024 $newmenu->add("/compta/resultat/compteres.php?leftmenu=report","Compte de resultat",2,$user->hasRight('compta', 'resultat', 'lire'));
20232025 $newmenu->add("/compta/resultat/bilan.php?leftmenu=report","Bilan",2,$user->hasRight('compta', 'resultat', 'lire'));
0 commit comments