wip but maye finish plugin

This commit is contained in:
viehlieb 2023-10-11 18:50:13 +02:00
parent 4523d0b26e
commit 92b72fe786
18 changed files with 111 additions and 296 deletions

View file

@ -1,5 +1,10 @@
module FoodsoftAutomaticInvoices
class Engine < ::Rails::Engine
initializer 'automatic_invoices.assets.precompile' do |app|
app.config.assets.precompile += %w(group_orders.css.less)
end
def default_foodsoft_config(cfg)
cfg[:use_automatic_invoices] = false
end