Skip to content

Commit

Permalink
Do not show membership fee as invoice option in dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWalkingLeek committed Nov 9, 2023
1 parent fe904d3 commit 95b2c4a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/helpers/sbv/dropdown/invoice_new.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

module Sbv
module Dropdown
module InvoiceNew
extend ActiveSupport::Concern

def additional_sub_links
super - [:membership_fee]
end
end
end
end
1 change: 1 addition & 0 deletions lib/hitobito_sbv/wagon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95b2c4a

Please sign in to comment.