Enhance PaidUntilBadge and UserManageDialog to display billing date
CI / Backend (build + test) (push) Successful in 1m18s
CI / Frontend (lint + typecheck + build) (push) Successful in 31s

- Updated the PaidUntilBadge component to accept a new `showDate` prop, allowing it to display the billing date alongside the remaining days.
- Modified UserManageDialog and admin user management components to utilize the updated PaidUntilBadge, improving context for billing information.
- Added internationalization support for the new date format in both English and Russian.
This commit is contained in:
Leonid Pershin
2026-07-19 05:57:13 +03:00
parent 1c13695556
commit 6a2d2d2318
4 changed files with 27 additions and 7 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ function AdminUsersPage() {
</td>
<td className="py-2">
{user.billingEnabled ? (
<PaidUntilBadge paidUntil={user.billingPaidUntil} />
<PaidUntilBadge paidUntil={user.billingPaidUntil} showDate />
) : (
<span className="text-muted-foreground"></span>
)}