feat: add superadmin plan management module

This commit is contained in:
2026-06-16 18:55:48 +05:30
parent d8587a43d4
commit 6c97f89b30
19 changed files with 1082 additions and 1 deletions

View File

@@ -19,6 +19,10 @@ export const appRoutes: AppRoute[] = [
path: ROUTES.CLIENTS,
permission: PERMISSIONS.CLIENT.READ,
},
{
path: ROUTES.PLANS,
permission: PERMISSIONS.PLAN.READ,
},
];
export function getRoutePermission(pathname: string) {

View File

@@ -8,6 +8,7 @@ import {
ShieldCheck,
Users,
Building2,
BadgeIndianRupee,
} from 'lucide-react';
import type { ComponentType, SVGProps } from 'react';
@@ -70,6 +71,12 @@ export const menuItems: MenuItem[] = [
icon: Building2,
permission: PERMISSIONS.CLIENT.READ,
},
{
title: 'Plans',
path: ROUTES.PLANS,
icon: BadgeIndianRupee,
permission: PERMISSIONS.PLAN.READ,
},
],
},
];