Commit Graph

4 Commits

Author SHA1 Message Date
hosseintaromi 8d71350f62 feat(discount-reports): enhance user selection functionality in discount usage reports
- Integrated user search with debounced input for improved performance and user experience.
- Added dropdown for user selection based on search input, displaying user details.
- Updated user ID input to allow searching by phone number or selecting from a list.
- Refactored filter handling to improve state management and clarity.

These changes significantly enhance the usability and functionality of the discount usage reporting pages.
2026-02-09 13:17:13 +03:30
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 c46fd2ba0e Refactor: Consolidate duplicate code patterns across 20+ pages
- Replace local ToggleSwitch components with shared component (3 pages)
- Consolidate formatDate/formatCurrency functions to formatters.ts (11 pages)
- Replace direct toLocaleDateString calls with formatDate utility (5 pages)
- Standardize PageHeader usage across 8 pages
- Extract ReportSkeleton component for Reports pages (4 pages)

All changes maintain existing functionality and Persian locale formatting.
2026-01-08 18:08:25 +03:30
hosseintaromi ef76defb28 fix 2026-01-08 17:10:26 +03:30