mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #7157 from Matt-Yorkley/dead-code-billing-names
DCOTW: Order#billing_firstname and Order#billing_lastname
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user