Browse Source

Majorrepairs will never match

pull/619/head
baarkerlounger 3 years ago
parent
commit
aa9705cda7
  1. 2
      app/services/imports/case_logs_import_service.rb

2
app/services/imports/case_logs_import_service.rb

@ -203,6 +203,8 @@ module Imports
differences = [] differences = []
attributes.each do |key, value| attributes.each do |key, value|
case_log_value = case_log.send(key.to_sym) case_log_value = case_log.send(key.to_sym)
next if key == "majorrepairs"
if value != case_log_value if value != case_log_value
differences.push("#{key} #{value.inspect} #{case_log_value.inspect}") differences.push("#{key} #{value.inspect} #{case_log_value.inspect}")
end end

Loading…
Cancel
Save