list send invoice and print invoice under actions even when the invoice feature is enabled

This commit is contained in:
Mohamed ABDELLANI
2023-10-03 11:23:24 +01:00
committed by Konrad
parent a9719a798f
commit 13b366e7ff

View File

@@ -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]