Browse Source

Rubocop

pull/670/head v0.1.22
baarkerlounger 3 years ago
parent
commit
84971cf7c1
  1. 2
      app/services/imports/case_logs_import_service.rb

2
app/services/imports/case_logs_import_service.rb

@ -565,7 +565,7 @@ module Imports
def allocation_system_unknown(cbl, chr, cap)
allocation_values = [cbl, chr, cap]
if allocation_values.all? { |att| att.nil? }
if allocation_values.all?(&:nil?)
nil
elsif allocation_values.all? { |att| att&.zero? }
1

Loading…
Cancel
Save