8 changed files with 62 additions and 5 deletions
@ -0,0 +1,19 @@ |
|||||||
|
class Form::Lettings::Questions::Supcharg4Weekly < ::Form::Question |
||||||
|
def initialize(id, hsh, page) |
||||||
|
super |
||||||
|
@id = "supcharg" |
||||||
|
@check_answer_label = "Support charge" |
||||||
|
@header = "What is the support charge?" |
||||||
|
@type = "numeric" |
||||||
|
@width = 5 |
||||||
|
@check_answers_card_number = 0 |
||||||
|
@min = 0 |
||||||
|
@hint_text = "Any charges made to fund support services included in tenancy agreement." |
||||||
|
@step = 0.01 |
||||||
|
@fields_to_add = %w[brent scharge pscharge supcharg] |
||||||
|
@result_field = "tcharge" |
||||||
|
@hidden_in_check_answers = true |
||||||
|
@prefix = "£" |
||||||
|
@suffix = " every 4 weeks" |
||||||
|
end |
||||||
|
end |
||||||
@ -0,0 +1,19 @@ |
|||||||
|
class Form::Lettings::Questions::SupchargBiWeekly < ::Form::Question |
||||||
|
def initialize(id, hsh, page) |
||||||
|
super |
||||||
|
@id = "supcharg" |
||||||
|
@check_answer_label = "Support charge" |
||||||
|
@header = "What is the support charge?" |
||||||
|
@type = "numeric" |
||||||
|
@width = 5 |
||||||
|
@check_answers_card_number = 0 |
||||||
|
@min = 0 |
||||||
|
@hint_text = "Any charges made to fund support services included in tenancy agreement." |
||||||
|
@step = 0.01 |
||||||
|
@fields_to_add = %w[brent scharge pscharge supcharg] |
||||||
|
@result_field = "tcharge" |
||||||
|
@hidden_in_check_answers = true |
||||||
|
@prefix = "£" |
||||||
|
@suffix = " every 2 weeks" |
||||||
|
end |
||||||
|
end |
||||||
@ -1,4 +1,4 @@ |
|||||||
class Form::Lettings::Questions::Supcharg < ::Form::Question |
class Form::Lettings::Questions::SupchargMonthly < ::Form::Question |
||||||
def initialize(id, hsh, page) |
def initialize(id, hsh, page) |
||||||
super |
super |
||||||
@id = "supcharg" |
@id = "supcharg" |
||||||
@ -0,0 +1,19 @@ |
|||||||
|
class Form::Lettings::Questions::SupchargWeekly < ::Form::Question |
||||||
|
def initialize(id, hsh, page) |
||||||
|
super |
||||||
|
@id = "supcharg" |
||||||
|
@check_answer_label = "Support charge" |
||||||
|
@header = "What is the support charge?" |
||||||
|
@type = "numeric" |
||||||
|
@width = 5 |
||||||
|
@check_answers_card_number = 0 |
||||||
|
@min = 0 |
||||||
|
@hint_text = "Any charges made to fund support services included in tenancy agreement." |
||||||
|
@step = 0.01 |
||||||
|
@fields_to_add = %w[brent scharge pscharge supcharg] |
||||||
|
@result_field = "tcharge" |
||||||
|
@hidden_in_check_answers = true |
||||||
|
@prefix = "£" |
||||||
|
@suffix = " every week" |
||||||
|
end |
||||||
|
end |
||||||
Loading…
Reference in new issue