Commit Graph

10 Commits

Author SHA1 Message Date
hosseintaromi fce23a41e2 feat: enhance application with new pages and improved UI components
- Added new pages for Wallet Credit, System Settings, Sales Summary, Profit Loss, Inventory Value, and Variant Comparison reports.
- Introduced Admin Notifications page and integrated it into the sidebar.
- Updated routing to accommodate new report pages and improved navigation structure.
- Enhanced sidebar with scrollbar styles for better usability.
- Implemented new input fields for gold price per gram and factory fee percentage in the Variant Manager.
- Refactored report handling in the Reports page to include new report types and improved filter functionality.

These changes significantly expand the application's reporting capabilities and improve user experience across various components.
2026-02-07 13:08:37 +03:30
hosseintaromi 8538d4282e refactor: کامپوننت‌سازی پروژه و حذف کدهای تکراری
- ایجاد کامپوننت‌های قابل استفاده مجدد: PageHeader, FiltersSection, TableSkeleton, EmptyState, DeleteConfirmModal, ActionButtons, StatusBadge
- ایجاد کامپوننت‌های فرم: FormSection, FormActions
- ایجاد utility functions: formatters.ts, statusUtils.ts
- Refactor صفحات لیست: ProductsListPage, CategoriesListPage, DiscountCodesListPage, UsersAdminListPage, RolesListPage, OrdersListPage
- Refactor صفحات فرم: ProductFormPage
- بهبود maintainability و کاهش code duplication
2026-01-08 17:46:40 +03:30
hosseintaromi ef76defb28 fix 2026-01-08 17:10:26 +03:30
hosseintaromi bdf5ab0c7c chore(dependencies): update React and related packages to version 19.2.3, and upgrade various dependencies in package-lock.json 2025-12-25 21:52:49 +03:30
hosseintaromi 3d437aeb53 feat(orders): improve order detail page UI and add payment settings pages
- Add product images display in order items
- Fix payment section overflow issues
- Merge customer and address sections into single card
- Add shipping method and delivery slot display
- Add payment gateway management page (IPG)
- Add wallet management page
- Add card-to-card payment settings page
- Remove coverage column from shipping methods table
- Improve overall layout and responsiveness
2025-12-25 18:15:53 +03:30
hosseintaromi abdf73bcb0 feat(orders): enhance OrderDetailPage UI and set default status in OrdersListPage 2025-10-01 18:19:18 +08:00
hosseintaromi dad0ff292d feat(orders): enhance order detail and list pages with improved data handling and UI updates 2025-09-26 12:16:58 +03:30
hosseintaromi 07fd4e1d2d feat(orders): optimize API calls and add comprehensive filters
- Update OrderFilters interface to match complete API documentation
- Add all supported query parameters (user_id, invoice_id, transaction_id, discount_code, etc.)
- Optimize useOrderStats to prevent duplicate API calls by making it dependent on orders query
- Add payment status filter to orders list page
- Replace order number search with general search field supporting order numbers, transaction IDs, and discount codes
- Maintain backward compatibility with legacy filter names
- Add stale time to stats query for better caching
2025-09-26 10:17:38 +03:30
hossein taromi 9544517fc9 feat(users-admin): implement user management features including list, detail, and form pages 2025-08-31 11:48:14 +03:30
hossein taromi d216a886d0 feat(orders): implement orders pages, update routes, and add order-related API constants 2025-08-30 17:38:19 +03:30