copy coupon code over when switching to student

This commit is contained in:
Henry Oswald 2015-11-17 11:47:28 +00:00
parent 264839e27d
commit 631e84f5d6

View file

@ -9,7 +9,7 @@ define [
$scope.plans = MultiCurrencyPricing.plans $scope.plans = MultiCurrencyPricing.plans
$scope.switchToStudent = ()-> $scope.switchToStudent = ()->
window.location = "/user/subscription/new?planCode=student_free_trial_7_days&currency=#{$scope.currencyCode}" window.location = "/user/subscription/new?planCode=student_free_trial_7_days&currency=#{$scope.currencyCode}&cc=#{$scope.data.coupon}"
$scope.paymentMethod = "credit_card" $scope.paymentMethod = "credit_card"