filing payment conditions

This commit is contained in:
Torsten Ruger 2017-06-03 22:38:43 +03:00
parent e1f62d6668
commit 52667d7ad8
3 changed files with 7 additions and 10 deletions

View File

@ -1,7 +1,7 @@
class Apply < ActiveRecord::Base
PLANS = { standard: "9000¢ - 9 week prepayment, no cancellation" ,
flex: "10200 - 9 week prepayment, 3 week cancellation" ,
super_flex: "11200¢ - 3 week prepayment, stop anytime" }
flex: "10200 - 9 week prepayment, 1 week cancellation" ,
super_flex: "11200¢ - 3 week prepayment, 1 week cancellation" }
belongs_to :user
belongs_to :primary_choice_course , class_name: :Course

View File

@ -23,7 +23,7 @@
%br
%b No Cancellation
%li.list-group-item
Student must pay first 3 weeks to accept placement on the course.
Student must pay first 2 weeks to accept placement on the course.
Final payment is due before the course starts.
%li.list-group-item
Cancellation is only possible if there is a serious reason.
@ -47,7 +47,7 @@
%li.list-group-item
Payment rules as for the standard plan apply.
%li.list-group-item
Cancellation is possible at any time and any outstanding whole 2 weeks will be refunded.
Cancellation is possible at any time and any outstanding whole weeks will be refunded.
No reason need be given, the student is free to choose to stop anytime.
.card-footer.centered
%h4
@ -58,15 +58,14 @@
%h4.card-title.centered Super Flex
%ul.list-group.list-group-flush
%li.list-group-item
%b 3 week prepayment
%b 3 installments
%br
%b Easy Cancellation
%li.list-group-item
Payment for each 3 weeks is due before the next 3 weeks start.
%li.list-group-item
Cancellation is implicit when the next module is not paid.
%br
As with the flex plan, the student may stop anytime.
As with the flex plan, the student may stop anytime. Whole paid weeks will be
refunded.
.card-footer.centered
%h4
11400 €

View File

@ -4,7 +4,6 @@ class AddStreetCityCountryToUser < ActiveRecord::Migration[5.0]
add_column :users, :street, :string
add_column :users, :city, :string
add_column :users, :country, :string
puts "UP"
User.all.each do |user|
resume = user.resume
user.street = resume.street
@ -18,7 +17,6 @@ class AddStreetCityCountryToUser < ActiveRecord::Migration[5.0]
remove_column :users, :street
remove_column :users, :city
remove_column :users, :country
puts "DOWN"
end
end