mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
list send invoice and print invoice under actions even when the invoice feature is enabled
This commit is contained in:
committed by
Konrad
parent
a9719a798f
commit
13b366e7ff
@@ -31,7 +31,6 @@ module Spree
|
||||
end
|
||||
|
||||
def invoice_links
|
||||
return [] if OpenFoodNetwork::FeatureToggle.enabled?(:invoices)
|
||||
return [] unless Spree::Config[:enable_invoices?]
|
||||
|
||||
[send_invoice_link, print_invoice_link]
|
||||
|
||||
Reference in New Issue
Block a user