all customer fixing added

This commit is contained in:
2026-07-22 00:10:29 +03:30
parent 2f64c6cce7
commit 21dbaa1e31
10 changed files with 398 additions and 92 deletions
+6
View File
@@ -1,4 +1,5 @@
import type { RouteRecordRaw } from 'vue-router'
import { conditionalOrderEnabledSetting } from '@/utils/config'
const HesabKetab: RouteRecordRaw = {
name: 'hesabKetab',
@@ -98,6 +99,11 @@ const HesabKetab: RouteRecordRaw = {
icon: 'vuesax-linear:timer',
title: 'سفارش شرطی',
order: 6.5
},
beforeEnter() {
if (!conditionalOrderEnabledSetting.value) {
return { name: 'accountsMain' }
}
}
},
{