[web] Remove SubscriptionFormatters, format subscription dates in the frontend (#36409) (#36476)

* Reapply "[web] Remove SubscriptionFormatters, format subscription dates in the…"

This reverts commit 2939e71e5b919529cbb8a602916d5f597d117792.

* Fixup after rename conflict: `nextPaymentDueDate`->`periodEnd`

GitOrigin-RevId: c024a3a2cd08c1f8f9d4c99f9ba6f018d334439e
This commit is contained in:
Antoine Clausse
2026-09-17 11:55:52 +00:00
committed by Copybot
parent a6792af5b1
commit b2139b170c
27 changed files with 154 additions and 205 deletions
@@ -37,12 +37,10 @@ type PaymentProviderRecord = {
additionalLicenses: number
addOns: PaymentProviderAddOn[]
totalLicenses: number
nextPaymentDueAt: string
nextPaymentDueDate: string
periodEnd: string
currency: CurrencyCode
planPrice: number
state?: SubscriptionState
trialEndsAtFormatted: Nullable<string>
trialEndsAt: Nullable<string>
activeCoupons: PaymentProviderCoupon[]
accountEmail: string