{{ business.title }}
-- {{ business.category.title }} -
-{{ ownerText }}
+{{ business.title }}
++ {{ business.category.title }} +
+{{ ownerText }}
+ +
diff --git a/src/components/ui/AppIcon.vue b/src/components/ui/AppIcon.vue
index 5247f73..f5de20f 100644
--- a/src/components/ui/AppIcon.vue
+++ b/src/components/ui/AppIcon.vue
@@ -16,16 +16,21 @@ import {
Camera,
CircleCheck,
ClipboardList,
+ Eye,
+ EyeOff,
FolderOpen,
Home,
LayoutDashboard,
MapPin,
Moon,
Plus,
+ Pencil,
Search,
Store,
Sun,
+ Trash2,
User,
+ UserCog,
Users,
X,
} from '@lucide/vue';
@@ -49,6 +54,11 @@ const iconMap: Recordپنل مدیریت
{{ subtitle }}
+پنل مدیریت
{{ title }}
diff --git a/src/types/icons.ts b/src/types/icons.ts index 1beabcc..ce59fea 100644 --- a/src/types/icons.ts +++ b/src/types/icons.ts @@ -15,7 +15,12 @@ export type AppIconName = | 'x' | 'camera' | 'circle-check' - | 'search'; + | 'search' + | 'pencil' + | 'trash' + | 'user-cog' + | 'eye' + | 'eye-off'; export type AdminNavItem = { to: string; diff --git a/src/views/BookingsView.vue b/src/views/BookingsView.vue index c0ffb93..f079e0b 100644 --- a/src/views/BookingsView.vue +++ b/src/views/BookingsView.vue @@ -38,24 +38,22 @@ :key="b.id" class="rounded-2xl border border-border bg-surface-2 p-4" > -- {{ b.business?.title ?? 'کسبوکار' }} -
-- {{ serviceTitle(b) }} — {{ formatDate(b.scheduledAt) }} -
-- {{ b.customer?.mobile ?? b.customerId }} -
-+ {{ b.business?.title ?? 'کسبوکار' }} +
++ {{ b.customer?.mobile ?? b.customerId }} +
++ {{ serviceTitle(b) }} — {{ formatDate(b.scheduledAt) }} +
+مدیر فعلی
-- {{ assignCurrentOwner.fullName ?? 'بدون نام' }} -
-{{ assignCurrentOwner.mobile }}
--
+
- نام +
- + {{ assignCurrentOwner.fullName ?? 'بدون نام' }} + +
- موبایل +
- {{ assignCurrentOwner.mobile }} +
- نقش +
-
+
{{ roleLabel(assignCurrentOwner.role) }} +
+
{{ user.fullName ?? 'بدون نام' }}
-{{ user.mobile }}
-+ {{ user.fullName ?? 'بدون نام' }} +
+{{ user.mobile }}
+