Carrello Spesa
This commit is contained in:
@@ -121,25 +121,63 @@ const routes_projects: IListRoutes[] = [
|
||||
|
||||
const routes_ecommerce: IListRoutes[] = [
|
||||
{
|
||||
active: functionality.ENABLE_ECOMMERCE,
|
||||
order: 10,
|
||||
path: '/' + RouteNames.ecommerce,
|
||||
materialIcon: 'shop',
|
||||
name: RouteNames.ecommerce,
|
||||
level_parent: 0.0,
|
||||
active: true,
|
||||
order: 30,
|
||||
path: '/checkout',
|
||||
materialIcon: 'fas fa-shopping-cart',
|
||||
name: 'pages.checkout',
|
||||
component: () => import('@/views/ecommerce/checkOut/checkOut.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
level_child: 0.5,
|
||||
component: () => import('@/views/projects/proj-list/proj-list.vue'),
|
||||
inmenu: functionality.SHOW_MESSAGES,
|
||||
infooter: functionality.ENABLE_PROJECTS_LOADING,
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
async asyncData() {
|
||||
// await Todos.actions.dbLoad({ checkPending: false })
|
||||
await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true })
|
||||
}
|
||||
},
|
||||
idelem: process.env.PROJECT_ID_MAIN
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
const routes_admin_ecommerce: IListRoutes[] = [
|
||||
{
|
||||
active: true,
|
||||
order: 30,
|
||||
path: '/admin/products',
|
||||
materialIcon: 'fas fa-file-alt',
|
||||
name: 'pages.products',
|
||||
component: () => import('@/rootgen/admin/products/products.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
level_child: 0.5,
|
||||
onlyManager: true,
|
||||
onlyTraduttrici: true
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 30,
|
||||
path: '/admin/producers',
|
||||
materialIcon: 'fas fa-file-alt',
|
||||
name: 'pages.producer',
|
||||
component: () => import('@/rootgen/admin/producer/producer.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
level_child: 0.5,
|
||||
onlyManager: true,
|
||||
onlyTraduttrici: true
|
||||
},
|
||||
{
|
||||
active: true,
|
||||
order: 30,
|
||||
path: '/admin/storehouses',
|
||||
materialIcon: 'fas fa-file-alt',
|
||||
name: 'pages.storehouses',
|
||||
component: () => import('@/rootgen/admin/storehouses/storehouses.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0,
|
||||
level_child: 0.5,
|
||||
onlyManager: true,
|
||||
onlyTraduttrici: true
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
const routes_newsletter: IListRoutes[] = [
|
||||
@@ -316,6 +354,22 @@ const routes_manager: IListRoutes[] = [
|
||||
onlyAdmin: true,
|
||||
onlyManager: true
|
||||
},
|
||||
{
|
||||
active: functionality.ENABLE_ECOMMERCE,
|
||||
path: '',
|
||||
order: 65,
|
||||
faIcon: 'fa fa-list-alt',
|
||||
materialIcon: 'next_week',
|
||||
name: 'pages.ecommerce',
|
||||
routes2: routes_admin_ecommerce,
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0.5,
|
||||
level_child: 0.5,
|
||||
solotitle: true,
|
||||
onlyAdmin: true,
|
||||
onlyManager: true
|
||||
},
|
||||
{
|
||||
active: functionality.BOOKING_EVENTS,
|
||||
order: 70,
|
||||
@@ -399,7 +453,7 @@ const baseroutes: IListRoutes[] = [
|
||||
{
|
||||
active: functionality.ENABLE_ECOMMERCE,
|
||||
path: '',
|
||||
order: 10002,
|
||||
order: 1402,
|
||||
faIcon: 'fa fa-list-alt',
|
||||
materialIcon: 'next_week',
|
||||
name: 'pages.ecommerce',
|
||||
@@ -408,7 +462,7 @@ const baseroutes: IListRoutes[] = [
|
||||
solotitle: true,
|
||||
infooter: true
|
||||
},
|
||||
...routes_projects,
|
||||
...routes_ecommerce,
|
||||
{
|
||||
active: true,
|
||||
order: 2000,
|
||||
|
||||
Reference in New Issue
Block a user