fix: bulk actions — add tariff info to user list, fix tariff column display

- Update UserListItem type to include tariff_id, tariff_name,
  traffic_used_gb, traffic_limit_gb, device_limit, days_remaining
  from the backend (now returned in user list API)
- Fix tariff column: was showing subscription_status, now shows
  actual tariff_name from the API response
This commit is contained in:
Fringg
2026-04-24 05:28:08 +03:00
parent 8dd5e4985f
commit 161fde4301
2 changed files with 10 additions and 11 deletions

View File

@@ -49,6 +49,12 @@ export interface UserListItem {
subscription_status: string | null;
subscription_is_trial: boolean;
subscription_end_date: string | null;
tariff_id: number | null;
tariff_name: string | null;
traffic_used_gb: number;
traffic_limit_gb: number;
device_limit: number;
days_remaining: number;
promo_group_id: number | null;
promo_group_name: string | null;
total_spent_kopeks: number;