Commit Graph

3 Commits

Author SHA1 Message Date
hosseintaromi 5b62d189f8 feat(contact-us): add contact us page and related API endpoints
- Introduced a new Contact Us page with routing and lazy loading.
- Added API routes for fetching and deleting contact messages.
- Updated sidebar to include a link to the Contact Us page.
- Enhanced the shipping methods list page with a report view option for shipments.
- Implemented discount reports functionality in the discount codes section.
- Improved payment statistics with transaction reporting capabilities.

These changes enhance user interaction and reporting features across the application.
2026-01-23 01:01:38 +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