feat:add purchesa

This commit is contained in:
2026-07-03 17:22:57 +03:30
parent 62398fbf3d
commit 3c0098ceab
4 changed files with 415 additions and 1 deletions
+8 -1
View File
@@ -2,7 +2,7 @@
import { useAuth } from '@/contexts/AuthContext';
import Link from 'next/link';
import { UsersIcon, CubeIcon, TagIcon , BellIcon, GiftIcon, PowerIcon } from '@heroicons/react/24/outline';
import { UsersIcon, CubeIcon, TagIcon , BellIcon, GiftIcon, PowerIcon, ShoppingBagIcon } from '@heroicons/react/24/outline';
import { MegaphoneIcon } from 'lucide-react';
import ThemeToggle from '@/components/ThemeToggle';
// import { BellIcon } from 'lucide-react';
@@ -18,6 +18,13 @@ export default function Dashboard() {
Icon: UsersIcon,
iconWrap: 'bg-indigo-100 text-indigo-600 dark:bg-indigo-500/15 dark:text-indigo-400',
},
{
href: '/admin/purchases',
title: 'خریدهای اشتراک',
desc: 'مشاهده و فیلتر خریدها بر اساس ایمیل، موبایل، پکیج و منبع پرداخت',
Icon: ShoppingBagIcon,
iconWrap: 'bg-orange-100 text-orange-600 dark:bg-orange-500/15 dark:text-orange-400',
},
{
href: '/admin/packages',
title: 'مدیریت پکیج‌ها',