Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add various abo fees as mounted attrs (#1590) #1619

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

njaeggi
Copy link
Contributor

@njaeggi njaeggi commented Feb 4, 2025

No description provided.

@njaeggi njaeggi linked an issue Feb 4, 2025 that may be closed by this pull request
SacCas::ABO_COSTS[:magazin].find { |cost| cost.country == :international }
end
cost = Group.root.abo_alpen_fee
cost += Group.root.abo_alpen_postage_abroad if @person.living_abroad?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In any other place where abroad fees are applied, we use living_abroad? to to not apply costs to Liechtenstein, this should probably be the same here 😄

@njaeggi njaeggi force-pushed the feature/1590/abo-fee-configuration branch 2 times, most recently from c01276b to 1e1d7c3 Compare February 4, 2025 11:51
@njaeggi njaeggi force-pushed the feature/1590/abo-fee-configuration branch from 1e1d7c3 to 036c105 Compare February 4, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Die Alpen - Konfiguration Beträge / Artikelnummern
1 participant