diff --git a/app/helpers/sbv/dropdown/invoice_new.rb b/app/helpers/sbv/dropdown/invoice_new.rb new file mode 100644 index 0000000..16d4acc --- /dev/null +++ b/app/helpers/sbv/dropdown/invoice_new.rb @@ -0,0 +1,12 @@ + +module Sbv + module Dropdown + module InvoiceNew + extend ActiveSupport::Concern + + def additional_sub_links + super - [:membership_fee] + end + end + end +end diff --git a/lib/hitobito_sbv/wagon.rb b/lib/hitobito_sbv/wagon.rb index a8b77e5..95587d2 100644 --- a/lib/hitobito_sbv/wagon.rb +++ b/lib/hitobito_sbv/wagon.rb @@ -68,6 +68,7 @@ class Wagon < Rails::Engine GroupsHelper.include Sbv::GroupsHelper GroupDecorator.prepend Sbv::GroupDecorator StandardFormBuilder.include Sbv::StandardFormBuilder + Dropdown::InvoiceNew.prepend Sbv::Dropdown::InvoiceNew ### sheets Sheet::Group.include Sbv::Sheet::Group