renames prices scope var into groupPlans

GitOrigin-RevId: ef53edd8f9b78eb13fb2d4bb488e30ee02858764
This commit is contained in:
Tim Alby 2022-01-12 10:48:02 +01:00 committed by Copybot
parent 0421fc58f1
commit e98084259a

View file

@ -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,