Enhance user management and billing integration
CI / Backend (build + test) (push) Successful in 1m18s
CI / Frontend (lint + typecheck + build) (push) Successful in 45s

- Updated the `UserSummaryDto` to include `BillingEnabled` and `BillingPaidUntil` properties, allowing for better tracking of user billing status.
- Refactored the `IdentityService` to populate the new billing fields when retrieving user summaries.
- Modified the dashboard and admin user management components to display billing information, including a link to the billing page and a badge for billing status.
- Added internationalization support for new billing-related labels in both English and Russian.
- Ensured frontend components reflect the updated user data structure, enhancing user experience with billing visibility.
This commit is contained in:
Leonid Pershin
2026-07-19 02:31:52 +03:00
parent b2ae358250
commit 450ad1ea1f
7 changed files with 71 additions and 5 deletions
@@ -34,7 +34,9 @@ public sealed record UserSummaryDto(
string Role,
bool IsActivated,
bool IsBlocked,
DateTimeOffset? ActivatedAt
DateTimeOffset? ActivatedAt,
bool BillingEnabled,
DateTimeOffset? BillingPaidUntil
);
public sealed record UserStatsDto(int Total, int Activated);