From a7097ed9677bb0095b8ded41eeffa25050b70b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Meny?= Date: Fri, 15 Jul 2022 10:56:23 +0100 Subject: [PATCH] Rubocop --- app/services/imports/case_logs_import_service.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/services/imports/case_logs_import_service.rb b/app/services/imports/case_logs_import_service.rb index e01e138ed..8b7aa80dc 100644 --- a/app/services/imports/case_logs_import_service.rb +++ b/app/services/imports/case_logs_import_service.rb @@ -18,7 +18,7 @@ module Imports FORM_NAME_INDEX = { start_year: 0, rent_type: 2, - needs_type: 3 + needs_type: 3, }.freeze GN_SH = { @@ -617,9 +617,9 @@ module Imports def set_partial_charges_to_zero(attributes) unless attributes["brent"].nil? && - attributes["scharge"].nil? && - attributes["pscharge"].nil? && - attributes["supcharg"].nil? + attributes["scharge"].nil? && + attributes["pscharge"].nil? && + attributes["supcharg"].nil? attributes["brent"] ||= BigDecimal("0.0") attributes["scharge"] ||= BigDecimal("0.0") attributes["pscharge"] ||= BigDecimal("0.0")