8 changed files with 62 additions and 5 deletions
@ -0,0 +1,19 @@ |
|||||||
|
class Form::Lettings::Questions::Tcharge4Weekly < ::Form::Question |
||||||
|
def initialize(id, hsh, page) |
||||||
|
super |
||||||
|
@id = "tcharge" |
||||||
|
@check_answer_label = "Household rent and charges" |
||||||
|
@header = "Total charge" |
||||||
|
@type = "numeric_output" |
||||||
|
@width = 5 |
||||||
|
@check_answers_card_number = 0 |
||||||
|
@min = 0 |
||||||
|
@hint_text = "This is the total for rent and all charges." |
||||||
|
@step = 0.01 |
||||||
|
@readonly = true |
||||||
|
@prefix = "£" |
||||||
|
@suffix = " every 4 weeks" |
||||||
|
@requires_js = true |
||||||
|
@fields_added = %w[brent scharge pscharge supcharg] |
||||||
|
end |
||||||
|
end |
||||||
@ -0,0 +1,19 @@ |
|||||||
|
class Form::Lettings::Questions::TchargeBiWeekly < ::Form::Question |
||||||
|
def initialize(id, hsh, page) |
||||||
|
super |
||||||
|
@id = "tcharge" |
||||||
|
@check_answer_label = "Household rent and charges" |
||||||
|
@header = "Total charge" |
||||||
|
@type = "numeric_output" |
||||||
|
@width = 5 |
||||||
|
@check_answers_card_number = 0 |
||||||
|
@min = 0 |
||||||
|
@hint_text = "This is the total for rent and all charges." |
||||||
|
@step = 0.01 |
||||||
|
@readonly = true |
||||||
|
@prefix = "£" |
||||||
|
@suffix = " every 2 weeks" |
||||||
|
@requires_js = true |
||||||
|
@fields_added = %w[brent scharge pscharge supcharg] |
||||||
|
end |
||||||
|
end |
||||||
@ -1,4 +1,4 @@ |
|||||||
class Form::Lettings::Questions::Tcharge < ::Form::Question |
class Form::Lettings::Questions::TchargeMonthly < ::Form::Question |
||||||
def initialize(id, hsh, page) |
def initialize(id, hsh, page) |
||||||
super |
super |
||||||
@id = "tcharge" |
@id = "tcharge" |
||||||
@ -0,0 +1,19 @@ |
|||||||
|
class Form::Lettings::Questions::TchargeWeekly < ::Form::Question |
||||||
|
def initialize(id, hsh, page) |
||||||
|
super |
||||||
|
@id = "tcharge" |
||||||
|
@check_answer_label = "Household rent and charges" |
||||||
|
@header = "Total charge" |
||||||
|
@type = "numeric_output" |
||||||
|
@width = 5 |
||||||
|
@check_answers_card_number = 0 |
||||||
|
@min = 0 |
||||||
|
@hint_text = "This is the total for rent and all charges." |
||||||
|
@step = 0.01 |
||||||
|
@readonly = true |
||||||
|
@prefix = "£" |
||||||
|
@suffix = " every week" |
||||||
|
@requires_js = true |
||||||
|
@fields_added = %w[brent scharge pscharge supcharg] |
||||||
|
end |
||||||
|
end |
||||||
Loading…
Reference in new issue