mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Remove dead code: Shipment#total_cost
This commit is contained in:
@@ -164,10 +164,6 @@ module Spree
|
||||
Spree::Money.new(item_cost, currency: currency)
|
||||
end
|
||||
|
||||
def total_cost
|
||||
cost + item_cost
|
||||
end
|
||||
|
||||
def editable_by?(_user)
|
||||
!shipped?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user