feat(groups): show used traffic per group in groups table

Sum up+down across each group's clients via a LEFT JOIN on email in
ListGroups, expose it as trafficUsed on GroupSummary, and render it as a
new column plus a "Total traffic" summary card. Drops the unused "Empty
groups" card and its translation key.
This commit is contained in:
Sanaei
2026-06-08 23:47:59 +02:00
parent b24b8524b6
commit 1fa51cf0f2
16 changed files with 57 additions and 27 deletions
+2 -1
View File
@@ -812,7 +812,8 @@
"clientCount": "Клиентов в группе",
"totalGroups": "Всего групп",
"totalGroupedClients": "Клиенты с группой",
"emptyGroups": "Пустые группы",
"trafficUsed": "Использованный трафик",
"totalTraffic": "Общий трафик",
"addGroup": "Добавить группу",
"createSuccess": "Группа «{name}» создана.",
"rename": "Переименовать",