mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added currency to subscription view model
This commit is contained in:
parent
f55ef2f1b4
commit
2bf34bba4d
2 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,7 @@ module.exports = SubscriptionController =
|
|||
plans = SubscriptionViewModelBuilder.buildViewModel()
|
||||
res.render "subscriptions/dashboard",
|
||||
title: "your_subscription"
|
||||
recomendedCurrency: subscription.currency
|
||||
plans: plans
|
||||
subscription: subscription
|
||||
groups: groups
|
||||
|
|
|
@ -23,6 +23,7 @@ module.exports =
|
|||
state: recurlySubscription.state
|
||||
price: SubscriptionFormatters.formatPrice recurlySubscription.unit_amount_in_cents, recurlySubscription.currency
|
||||
planCode: subscription.planCode
|
||||
currency:recurlySubscription.currency
|
||||
groupPlan: subscription.groupPlan
|
||||
}, memberSubscriptions
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue