refactor: convert promocode stats modal to separate page

- Create AdminPromocodeStats.tsx with responsive mobile layout
- Add route /admin/promocodes/:id/stats
- Fix mobile layout in AdminPromocodes.tsx (badges and buttons no longer overlap)
- Remove PromocodeStatsModal component
This commit is contained in:
c0mrade
2026-02-02 06:05:15 +03:00
parent de613d909d
commit 2920ca45e8
7 changed files with 328 additions and 261 deletions

View File

@@ -1540,6 +1540,8 @@
"save": "Save"
},
"stats": {
"title": "Promo code statistics",
"notFound": "Promo code not found",
"totalUses": "Total uses",
"today": "Today",
"remaining": "Remaining",