Просмотр исходного кода

use currency for change plan pricing

Henry Oswald 11 лет назад
Родитель
Сommit
6f5b524b56
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/public/coffee/main/subscription-dashboard.coffee

+ 1 - 1
services/web/public/coffee/main/subscription-dashboard.coffee

@@ -42,7 +42,7 @@ define [
 			if $scope.prices[planCode]?
 				return
 			pricing = recurly.Pricing()
-			pricing.plan(planCode, { quantity: 1 }).done (price)->
+			pricing.plan(planCode, { quantity: 1 }).currency(MultiCurrencyPricing.currencyCode).done (price)->
 				totalPriceExTax = parseFloat(price.next.total)
 				$scope.$evalAsync () ->
 					$scope.prices[planCode] = $scope.currencySymbol + (totalPriceExTax + (totalPriceExTax * taxRate))