From 809ad1168065a970c526eb12cc1df0ef7229be76 Mon Sep 17 00:00:00 2001 From: hamed <15238-genius.ha@users.noreply.drupalcode.org> Date: Fri, 17 Jul 2026 12:29:52 +0330 Subject: [PATCH] =?UTF-8?q?feat(discount):=20add=20=C2=AB=D9=85=D8=AF?= =?UTF-8?q?=DB=8C=D8=B1=DB=8C=D8=AA=20=D8=AA=D8=AE=D9=81=DB=8C=D9=81?= =?UTF-8?q?=E2=80=8C=D9=87=D8=A7=C2=BB=20to=20the=20desktop=20settings=20s?= =?UTF-8?q?idebar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The desktop settings sidebar (PurchaseSubscriptionSidebar) uses its own NAV_ITEMS list, separate from SETTINGS_MENU; add the discounts entry there so it shows in the settings menu on desktop too. Co-Authored-By: Claude Fable 5 --- assets/admin/components/layout/PurchaseSubscriptionSidebar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/admin/components/layout/PurchaseSubscriptionSidebar.tsx b/assets/admin/components/layout/PurchaseSubscriptionSidebar.tsx index c7c1e4e2..af6e1ea2 100644 --- a/assets/admin/components/layout/PurchaseSubscriptionSidebar.tsx +++ b/assets/admin/components/layout/PurchaseSubscriptionSidebar.tsx @@ -19,6 +19,7 @@ const NAV_ITEMS: NavItem[] = [ { key: 'payment', label: 'مدیریت پرداخت', to: '/admin/my-financial' }, { key: 'appointment', label: 'مدیریت نوبت دهی', to: '/admin/appointment-settings' }, { key: 'insurance', label: 'مدیریت بیمه', to: '/admin/insurance-pricing' }, + { key: 'discounts', label: 'مدیریت تخفیف‌ها', to: '/admin/discounts' }, { key: 'tags', label: 'تگ ها', to: '/admin/tags-settings' }, { key: 'sms', label: 'پیامک ها', to: '/admin/sms-wallet' }, { key: 'clinic', label: 'مدیریت مطب', to: '/admin/my-clinic' },