mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user