added kashkool

This commit is contained in:
2026-06-11 22:29:28 +03:30
parent ddf818ede4
commit d4ac54aa6a
9 changed files with 143 additions and 20 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
import type { RouteRecordRaw } from 'vue-router'
import {getConfigApp} from "@/utils/config";
import { getConfigApp, isStoreApp } from '@/utils/config'
const Orders: RouteRecordRaw = {
name: 'giftCard',
@@ -9,9 +9,9 @@ const Orders: RouteRecordRaw = {
meta: {
icon: 'vuesax-linear:gift',
permissionsKey: 'giftCard',
title: 'کارت هدیه',
title: isStoreApp() ? 'کارت هدیه و تخفیف' : 'کارت هدیه',
disabled: false,
hideMenu: getConfigApp('name')!='garoosi',
hideMenu: !isStoreApp() && getConfigApp('name') != 'garoosi',
hideChildren: true,
order: 7
},
@@ -24,7 +24,7 @@ const Orders: RouteRecordRaw = {
permissionsKey: 'project',
icon: 'vuesax-linear:empty-wallet-time',
order: 3,
title: 'کارت هدیه',
title: isStoreApp() ? 'کارت هدیه و تخفیف' : 'کارت هدیه',
disabled: false,
hideMenu: false
//hideChildren: false
+2 -2
View File
@@ -1,5 +1,5 @@
import type { RouteRecordRaw } from 'vue-router'
import {getConfigApp} from "@/utils/config";
import { getConfigApp, isStoreApp } from '@/utils/config'
const Setting: RouteRecordRaw = {
name: 'settings',
path: '/settings',
@@ -70,7 +70,7 @@ const Setting: RouteRecordRaw = {
permissionsKey: 'discounts',
icon: 'vuesax-linear:discount-shape',
title: 'تخفیفات',
hideMenu: getConfigApp('name') !== "goldsun"
hideMenu: isStoreApp() || getConfigApp('name') !== 'goldsun'
}
},
{