mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Make OrdersHelper.complete_order_links simpler
This commit is contained in:
@@ -14,11 +14,7 @@ module Spree
|
||||
private
|
||||
|
||||
def complete_order_links
|
||||
complete_order_links = []
|
||||
complete_order_links << resend_confirmation_link
|
||||
complete_order_links.concat(invoice_links)
|
||||
complete_order_links.concat(ticket_links)
|
||||
complete_order_links
|
||||
[resend_confirmation_link] + invoice_links + ticket_links
|
||||
end
|
||||
|
||||
def invoice_links
|
||||
|
||||
Reference in New Issue
Block a user