overleaf/services/web/app/views/subscriptions/dashboard
Thomas 895f52d41a Let users upgrade to group plans via subscription dashboard (#5100)
* Let users upgrade to group plans via subscription dashboard

Users on an individual plan don't have a way to upgrade to a group
subscription without contacting support. As a temporary measure, we're
adding a way to do this by re-using the existing group plan modal from
the plans pages, to allow users to configure and upgrade to a group plan
directly.

This is currently only available for USD, EUR, and GBP - since although
we now support other currencies in Recurly, the group plans modal does
not yet support them. The user however can not change currency here,
their group subscription will be in the same currency as their current
individual subscription.

The group plan modal has been duplicated rather than extended, to keep
this code seperate as it is potentially only a stopgap measure - and we
don't want to be untangling the additional logic from the existing
modal/template later down the line.

GitOrigin-RevId: 10664bd19af2c3870dfe7e19fd0f9c5b7c877cc6
2021-09-15 08:04:00 +00:00
..
_change_plans_mixins.pug
_group_memberships.pug
_institution_memberships.pug
_managed_groups.pug
_managed_institutions.pug
_managed_publishers.pug
_personal_subscription.pug
_personal_subscription_custom.pug
_personal_subscription_recurly.pug
_personal_subscription_recurly_sync_email.pug
_team_name_mixin.pug
_v1_subscription_status.pug