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

@@ -1332,6 +1332,8 @@
"save": "保存"
},
"stats": {
"title": "促销码统计",
"notFound": "未找到促销码",
"totalUses": "总使用次数",
"today": "今天",
"remaining": "剩余",