Browse Source

Typo

pull/1331/head
Kat 3 years ago
parent
commit
5d2ea198b3
  1. 6
      app/services/imports/sales_logs_import_service.rb

6
app/services/imports/sales_logs_import_service.rb

@ -233,7 +233,7 @@ module Imports
end end
end end
MORNTGAGE_LENDER_OPTIONS = { MORTGAGE_LENDER_OPTIONS = {
"atom bank" => 1, "atom bank" => 1,
"barclays bank plc" => 2, "barclays bank plc" => 2,
"bath building society" => 3, "bath building society" => 3,
@ -288,11 +288,11 @@ module Imports
end end
return if lender.blank? return if lender.blank?
MORNTGAGE_LENDER_OPTIONS[lender.downcase] || MORNTGAGE_LENDER_OPTIONS["other"] MORTGAGE_LENDER_OPTIONS[lender.downcase] || MORTGAGE_LENDER_OPTIONS["other"]
end end
def mortgage_lender_other(xml_doc, attributes) def mortgage_lender_other(xml_doc, attributes)
return unless attributes["mortgagelender"] == MORNTGAGE_LENDER_OPTIONS["other"] return unless attributes["mortgagelender"] == MORTGAGE_LENDER_OPTIONS["other"]
case attributes["ownershipsch"] case attributes["ownershipsch"]
when 1 when 1

Loading…
Cancel
Save