Start implementation of branches, new form element tabledropdown, model improvements

This commit is contained in:
Torsten Schulz
2024-12-06 23:35:28 +01:00
parent 8c15fb7f2b
commit 1bb2bd49d5
57 changed files with 2176 additions and 170 deletions

View File

@@ -87,7 +87,7 @@ const menuStructure = {
},
towns: {
visible: ["hasfalukantaccount"],
path: "/falukant/towns"
path: "/falukant/branch"
},
directors: {
visible: ["hasfalukantaccount"],
@@ -117,6 +117,10 @@ const menuStructure = {
visible: ["hasfalukantaccount"],
path: "/falukant/education"
},
health: {
visible: ["hasfalukantaccount"],
path: "/falukant/health"
},
bank: {
visible: ["hasfalukantaccount"],
path: "/falukant/bank"
@@ -238,7 +242,6 @@ class NavigationController {
}
async filterMenu(menu, rights, age, userId) {
console.log(userId);
const filteredMenu = {};
const hasFalukantAccount = await this.hasFalukantAccount(userId);
for (const [key, value] of Object.entries(menu)) {