Skip to content

Commit

Permalink
Introduce sac membership config for top layer, refs #471
Browse files Browse the repository at this point in the history
  • Loading branch information
mtnstar committed May 21, 2024
1 parent 0e98e4a commit 677a916
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions db/seeds/development/sac_membership_configs.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# frozen_string_literal: true

# Copyright (c) 2024, Schweizer Alpen-Club. This file is part of
# hitobito_sac_cas and licensed under the Affero General Public License version 3
# or later. See the COPYING file at the top-level directory or at
# https://github.com/hitobito/hitobito_sac_cas.

SacMembershipConfig.seed_once(:valid_from,
valid_from: '2024',
sac_fee_adult: 10,
sac_fee_family: 10,
sac_fee_youth: 10,
entry_fee_adult: 10,
entry_fee_family: 10,
entry_fee_youth: 10,
hut_solidarity_fee_with_hut_adult: 10,
hut_solidarity_fee_with_hut_family: 10,
hut_solidarity_fee_with_hut_youth: 10,
hut_solidarity_fee_without_hut_adult: 10,
hut_solidarity_fee_without_hut_family: 10,
hut_solidarity_fee_without_hut_youth: 10,
magazine_fee_adult: 10,
magazine_fee_family: 10,
magazine_fee_youth: 10,
service_fee: 10,
magazine_postage_abroad: 10,
reduction_amount: 10,
reduction_required_membership_years: 50,
discount_date_1: '1.1.',
discount_percent_1: 0,
discount_date_2: '1.7.',
discount_percent_2: 50,
discount_date_3: '1.10.',
discount_percent_3: 100,
sac_fee_article_number: 42,
sac_entry_fee_article_number: 43,
hut_solidarity_fee_article_number: 44,
magazine_fee_article_number: 45,
section_bulletin_postage_abroad_article_number: 46,
service_fee_article_number: 47,
balancing_payment_article_number: 48,
course_fee_article_number: 49)

0 comments on commit 677a916

Please sign in to comment.