Merge pull request #7157 from Matt-Yorkley/dead-code-billing-names

DCOTW: Order#billing_firstname and Order#billing_lastname
This commit is contained in:
Andy Brett
2021-03-19 12:12:03 -07:00
committed by GitHub

View File

@@ -466,14 +466,6 @@ module Spree
false
end
def billing_firstname
bill_address.try(:firstname)
end
def billing_lastname
bill_address.try(:lastname)
end
def products
line_items.map(&:product)
end