2021-02-13 13:11:25 +00:00
|
|
|
import { FG_Plugin } from 'src/plugins';
|
2021-03-22 02:24:27 +00:00
|
|
|
|
|
|
|
export const innerRoutes: FG_Plugin.MenuRoute[] = [
|
2021-02-13 13:11:25 +00:00
|
|
|
{
|
|
|
|
title: 'Getränke',
|
|
|
|
icon: 'mdi-glass-mug-variant',
|
2021-03-14 12:52:58 +00:00
|
|
|
route: {
|
|
|
|
path: 'drinks',
|
|
|
|
name: 'drinks',
|
2021-03-22 02:24:27 +00:00
|
|
|
redirect: { name: 'drinks-pricelist' },
|
2021-03-14 12:52:58 +00:00
|
|
|
},
|
|
|
|
permissions: ['user'],
|
2021-02-13 13:11:25 +00:00
|
|
|
children: [
|
|
|
|
{
|
|
|
|
title: 'Preisliste',
|
|
|
|
icon: 'mdi-cash-100',
|
|
|
|
shortcut: true,
|
2021-03-14 12:52:58 +00:00
|
|
|
permissions: ['user'],
|
|
|
|
route: {
|
|
|
|
path: 'pricelist',
|
|
|
|
name: 'drinks-pricelist',
|
2021-03-22 02:24:27 +00:00
|
|
|
component: () => import('../pages/PricelistP.vue'),
|
|
|
|
},
|
2021-02-13 13:11:25 +00:00
|
|
|
},
|
2021-03-28 17:53:04 +00:00
|
|
|
{
|
|
|
|
title: 'Rezepte',
|
|
|
|
shortcut: false,
|
|
|
|
icon: '',
|
|
|
|
permissions: ['user'],
|
|
|
|
route: {
|
|
|
|
path: 'reciepts',
|
|
|
|
name: 'reciepts',
|
|
|
|
component: () => import('../pages/Reciepts.vue')
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Cocktailbuilder',
|
|
|
|
shortcut: false,
|
|
|
|
icon: 'mdi-glass-cocktail',
|
|
|
|
permissions: ['user'],
|
|
|
|
route: {
|
|
|
|
path: 'cocktail-builder',
|
|
|
|
name: 'cocktail-builder',
|
|
|
|
component: () => import('../pages/CocktailBuilder.vue')
|
|
|
|
}
|
|
|
|
},
|
2021-02-13 13:11:25 +00:00
|
|
|
{
|
|
|
|
title: 'Einstellungen',
|
|
|
|
icon: 'mdi-coffee-to-go',
|
|
|
|
shortcut: false,
|
2021-03-19 19:41:21 +00:00
|
|
|
permissions: ['user'],
|
2021-03-14 12:52:58 +00:00
|
|
|
route: {
|
|
|
|
path: 'settings',
|
|
|
|
name: 'drinks-settings',
|
2021-03-22 02:24:27 +00:00
|
|
|
component: () => import('../pages/Settings.vue'),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2021-02-13 13:11:25 +00:00
|
|
|
];
|
2021-03-28 14:43:30 +00:00
|
|
|
|
|
|
|
export const outerRoutes: FG_Plugin.MenuRoute[] = [
|
|
|
|
{
|
|
|
|
title: 'Preisliste',
|
|
|
|
icon: 'mdi-glass-mug-variant',
|
|
|
|
shortcut: true,
|
|
|
|
route: {
|
|
|
|
path: 'pricelist',
|
|
|
|
name: 'outter-pricelist',
|
|
|
|
component: () => import('../pages/OuterPricelist.vue')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|