feat(zibal): implement full dedicated Zibal Financial Portal with refunds, payouts, queue and ipg reports
Deploy Canina / deploy (push) Successful in 41s

This commit is contained in:
parsa aghaei committed 2026-08-22 14:14:00 +03:30
1 parent bf41ba038e
commit ee32b4c11d
15 files changed
+8013 -6506

No files matched your search

@@ -34,6 +34,7 @@ import {
Layers,
HelpCircle,
Menu,
RotateCcw,
} from 'lucide-react';
import api from '../services/api';
@@ -106,6 +107,7 @@ export default function Sidebar({ isOpen, setIsOpen }: SidebarProps) {
badge: newOrdersCount > 0 ? newOrdersCount : undefined,
},
{ icon: Receipt, label: 'تراکنش‌ها و لاگ پرداخت', path: '/transactions' },
{ icon: RotateCcw, label: 'پرتال مالی و استرداد زیبال', path: '/zibal-portal' },
{ icon: CreditCard, label: 'روش‌های پرداخت و زیبال', path: '/settings/payment-methods' },
{ icon: Truck, label: 'تنظیمات ارسال و کرایه', path: '/settings/shipping' },
{ icon: DollarSign, label: 'تنظیمات مالی و مالیات', path: '/settings/financial' },
File diff suppressed because it is too large. Load diff
@@ -33,6 +33,7 @@ const B2BManager = lazyWithRetry(() => import('../pages/B2BManager'));
const SeoSettingsPage = lazyWithRetry(() => import('../pages/SeoSettingsPage'));
const FinancialSettingsPage = lazyWithRetry(() => import('../pages/FinancialSettingsPage'));
const PaymentGatewaysPage = lazyWithRetry(() => import('../pages/PaymentGatewaysPage'));
const ZibalPortalPage = lazyWithRetry(() => import('../pages/ZibalPortalPage'));
const ShippingSettingsPage = lazyWithRetry(() => import('../pages/ShippingSettingsPage'));
const SystemSettingsPage = lazyWithRetry(() => import('../pages/SystemSettingsPage'));
const SmsSettingsPage = lazyWithRetry(() => import('../pages/SmsSettingsPage'));
@@ -70,6 +71,7 @@ export const router = createBrowserRouter([
{ path: 'products/*', element: <Products /> },
{ path: 'orders/*', element: <Orders /> },
{ path: 'transactions/*', element: <Transactions /> },
{ path: 'zibal-portal/*', element: <ZibalPortalPage /> },
{ path: 'coupons/*', element: <Coupons /> },
{ path: 'settings', element: <Settings /> },
{ path: 'settings/payment-methods', element: <PaymentGatewaysPage /> },