mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
copy coupon code over when switching to student
This commit is contained in:
parent
264839e27d
commit
631e84f5d6
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ define [
|
|||
$scope.plans = MultiCurrencyPricing.plans
|
||||
|
||||
$scope.switchToStudent = ()->
|
||||
window.location = "/user/subscription/new?planCode=student_free_trial_7_days¤cy=#{$scope.currencyCode}"
|
||||
window.location = "/user/subscription/new?planCode=student_free_trial_7_days¤cy=#{$scope.currencyCode}&cc=#{$scope.data.coupon}"
|
||||
|
||||
|
||||
$scope.paymentMethod = "credit_card"
|
||||
|
|
Loading…
Reference in a new issue