Skip to content
Snippets Groups Projects
Commit 031bcb41 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5073 from atm-maxime/fix_menu_bank

Fix bank submenu error
parents ec407af8 72ef11f5
No related branches found
No related tags found
No related merge requests found
......@@ -1324,6 +1324,8 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
// We update newmenu for special dynamic menus
if (!empty($user->rights->banque->lire) && $mainmenu == 'bank') // Entry for each bank account
{
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
$sql = "SELECT rowid, label, courant, rappro";
$sql.= " FROM ".MAIN_DB_PREFIX."bank_account";
$sql.= " WHERE entity = ".$conf->entity;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment