diff --git a/app/helpers/interruption_screen_helper.rb b/app/helpers/interruption_screen_helper.rb index 7731d9425..7cdc2a9dc 100644 --- a/app/helpers/interruption_screen_helper.rb +++ b/app/helpers/interruption_screen_helper.rb @@ -7,6 +7,8 @@ module InterruptionScreenHelper value = if argument["label"] pre_casing_value = lettings_log.form.get_question(argument["key"], lettings_log).answer_label(lettings_log) pre_casing_value.downcase + elsif argument["currency"] + ["£", ActionController::Base.helpers.number_to_currency(lettings_log.public_send(argument["key"]), delimiter: ",", format: "%n")].join("") else lettings_log.public_send(argument["key"]) end @@ -30,6 +32,8 @@ module InterruptionScreenHelper arguments.each do |argument| value = if argument["label"] lettings_log.form.get_question(argument["key"], lettings_log).answer_label(lettings_log).downcase + elsif argument["currency"] + ["£", ActionController::Base.helpers.number_to_currency(lettings_log.public_send(argument["key"]), delimiter: ",", format: "%n")].join("") else lettings_log.public_send(argument["key"]) end