mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
renames prices scope var into groupPlans
GitOrigin-RevId: ef53edd8f9b78eb13fb2d4bb488e30ee02858764
This commit is contained in:
parent
0421fc58f1
commit
e98084259a
1 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ App.controller(
|
|||
function ($scope, $modal, $location, $http, RecurlyPricing) {
|
||||
$scope.options = GROUP_PLAN_MODAL_OPTIONS
|
||||
|
||||
$scope.prices = getMeta('ol-groupPlans')
|
||||
$scope.groupPlans = getMeta('ol-groupPlans')
|
||||
|
||||
const currency = $scope.currentPlanCurrency
|
||||
|
||||
|
@ -161,7 +161,7 @@ App.controller(
|
|||
let pricePerUserPlaceholder = '...'
|
||||
const currencySymbol = $scope.options.currencySymbols[currency]
|
||||
if (taxRate === 0) {
|
||||
const basePrice = $scope.prices[usage][plan_code][currency][size]
|
||||
const basePrice = $scope.groupPlans[usage][plan_code][currency][size]
|
||||
pricePlaceholder.total = `${currencySymbol}${basePrice}`
|
||||
pricePerUserPlaceholder = getPricePerUser(
|
||||
basePrice,
|
||||
|
|
Loading…
Reference in a new issue