add discount page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
import {getConfigApp} from "@/utils/config";
|
||||
const Setting: RouteRecordRaw = {
|
||||
name: 'settings',
|
||||
path: '/settings',
|
||||
@@ -61,6 +61,17 @@ const Setting: RouteRecordRaw = {
|
||||
title: 'هشدار قیمت'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'discounts',
|
||||
path: 'discounts',
|
||||
component: () => import('@/pages/menuPages/discount/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'discounts',
|
||||
icon: 'vuesax-linear:notification-bing',
|
||||
title: 'تخفیفات',
|
||||
hideMenu: getConfigApp.name !== "goldsun"
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'configuration',
|
||||
path: 'configuration',
|
||||
|
||||
Reference in New Issue
Block a user