Skip to content

Commit

Permalink
Fixed: Missing link in eldy menu to init accountancy
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Feb 7, 2016
1 parent 84f4f2d commit 9d427d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions htdocs/core/menus/standard/eldy.lib.php
Expand Up @@ -555,6 +555,12 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
{
$langs->load("products");
$newmenu->add("/product/admin/product_tools.php?mainmenu=home&leftmenu=modulesadmintools", $langs->trans("ProductVatMassChange"), 1, $user->admin);

if (! empty($conf->accounting->enabled))
{
$langs->load("accountancy");
$newmenu->add("/accountancy/admin/productaccount.php?mainmenu=home&leftmenu=modulesadmintools", $langs->trans("InitAccountancy"), 1, $user->admin);
}
}
}
}
Expand Down

0 comments on commit 9d427d2

Please sign in to comment.