mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
renames prices scope var into groupPlans
GitOrigin-RevId: ef53edd8f9b78eb13fb2d4bb488e30ee02858764
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user