Fix menu entry invalid
This commit is contained in:
parent
8349e48559
commit
9be7bae765
@ -1687,8 +1687,8 @@ function get_left_menu_accountancy($mainmenu, &$newmenu, $usemenuhider = 1, $lef
|
||||
if ($objp->nature == 5 && !empty($conf->expensereport->enabled) && empty($conf->global->ACCOUNTING_DISABLE_BINDING_ON_EXPENSEREPORTS)) {
|
||||
$nature = "expensereports";
|
||||
}
|
||||
if ($objp->nature == 1) {
|
||||
$nature = "various";
|
||||
if ($objp->nature == 1 && !empty($conf->asset->enabled)) {
|
||||
$nature = "various"; // Warning: The page /accountancy/journal/variousjournal.php is bugged. It read tables that does not exists.
|
||||
}
|
||||
if ($objp->nature == 8) {
|
||||
$nature = "inventory";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user