Merge pull request #8857 from aspangaro/8.0-b28

FIX : Replace feature level 2 by a constant on accountancy journal
This commit is contained in:
Laurent Destailleur 2018-05-25 10:13:20 +02:00 committed by GitHub
commit 76b34a5a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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='';
} }