FIX : Replace feature level 2 by a constant on accountancy journal

This commit is contained in:
Alexandre SPANGARO 2018-05-24 21:13:48 +02:00
parent 23e2bb20d9
commit 46a251a2b3
2 changed files with 3 additions and 3 deletions

View File

@ -384,7 +384,7 @@ function print_left_auguria_menu($db,$menu_array_before,$menu_array_after,&$tabM
if ($objp->nature == 9) $nature="hasnew"; if ($objp->nature == 9) $nature="hasnew";
// To enable when page exists // To enable when page exists
if ($conf->global->MAIN_FEATURES_LEVEL < 2) if (! empty($conf->global->ACCOUNTANCY_SHOW_DEVELOP_JOURNAL))
{ {
if ($nature == 'various' || $nature == 'hasnew' || $nature == 'inventory') $nature=''; if ($nature == 'various' || $nature == 'hasnew' || $nature == 'inventory') $nature='';
} }

View File

@ -1062,7 +1062,7 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
if ($objp->nature == 9) $nature="hasnew"; if ($objp->nature == 9) $nature="hasnew";
// To enable when page exists // To enable when page exists
if ($conf->global->MAIN_FEATURES_LEVEL < 2) if (! empty($conf->global->ACCOUNTANCY_SHOW_DEVELOP_JOURNAL))
{ {
if ($nature == 'various' || $nature == 'hasnew' || $nature == 'inventory') $nature=''; if ($nature == 'various' || $nature == 'hasnew' || $nature == 'inventory') $nature='';
} }