foodsoft/plugins/automatic_invoices/lib/foodsoft_automatic_invoices.rb

10 lines
238 B
Ruby

require 'deface'
require 'foodsoft_automatic_invoices/engine'
require 'foodsoft_automatic_invoices/send_group_order_invoice_pdf'
module FoodsoftAutomaticInvoices
def self.enabled?
FoodsoftConfig[:use_automatic_invoices]
end
end