mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
[web] Remove redundant monthlyTimesTwelve from pricing tables (#35506)
* [web] Remove redundant monthlyTimesTwelve from pricing tables monthlyTimesTwelve was always exactly monthly * 12 in every pricing row, and the value was only ever used to render the "billed monthly for a year" strikethrough price in the compile-timeout paywall. - Drop the stored field from the pricing tables - Send raw monthly/annual numbers in ol-standardPlanPricing instead of pre-formatted strings - Format the prices (and derive the strikethrough as monthly * 12) in the paywall modal via the frontend currency helper No user-facing change: the displayed prices are identical. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * Remove `monthlyTimesTwelve` from script * Remove comments --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> GitOrigin-RevId: b637208540b3b96180b1a3cc4417b09944c5d158
This commit is contained in:
committed by
Copybot
co-authored by
Claude Opus 4.8
parent
bf50bf56b4
commit
a4da7a935c
@@ -44,7 +44,6 @@ describe('ProjectController', function () {
|
||||
monthly: 15,
|
||||
annual: 180,
|
||||
annualDividedByTwelve: 15,
|
||||
monthlyTimesTwelve: 180,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user