mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 21:31:36 +02:00
* Compute student discount from prices * Add presentational discount in the checkout page * Put student discount row behind feature flag * Update code and tests to clarify that `currency` is always defined * Introduce `usePlanPriceItems` to normalize the list * Simplify `usePlanPriceItems` Co-authored-by: Olzhas Askar <olzhas.askar@overleaf.com> * Remove student discount percent * Update Standard Monthly/Annual names in the checkout page * Simplify `getRecommendedCurrency` mock * Fix testid: price-summary-plan * Add test on stripe-price-summary * Add `Math.abs` on accessibility discounted info (!) --------- Co-authored-by: Olzhas Askar <olzhas.askar@overleaf.com> GitOrigin-RevId: f297eab4b6abd6a84842054667a3734cb33866fe