Browse Source

refactor: linting

pull/1225/head
natdeanlewissoftwire 2 years ago
parent
commit
f33b2ec332
  1. 2
      app/models/validations/sales/soft_validations.rb

2
app/models/validations/sales/soft_validations.rb

@ -50,12 +50,10 @@ module Validations::Sales::SoftValidations
end
def purchase_price_min_or_max_text
value < purchase_price_range.soft_min ? "minimum" : "maximum"
end
def purchase_price_soft_min_or_soft_max
value < purchase_price_range.soft_min ? purchase_price_range.soft_min : purchase_price_range.soft_max
end

Loading…
Cancel
Save