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] @hidden_in_check_answers = true end end