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

Refactor all calls to ArticleVersion.unit_quantity #1104

Open
lentschi opened this issue Aug 2, 2024 · 0 comments
Open

Refactor all calls to ArticleVersion.unit_quantity #1104

lentschi opened this issue Aug 2, 2024 · 0 comments

Comments

@lentschi
Copy link
Contributor

lentschi commented Aug 2, 2024

Use article_unit_ratios directly instead, then remove https://github.com/foodcoopsat/foodsoft_hackathon/blob/bb044e6d2b80c838b1c083114e17729f5537e4a2/app/models/concerns/price_calculation.rb#L10

@lentschi lentschi changed the title Refactor all calls to Article(Version).unit_quantity Refactor all calls to ArticleVersion.unit_quantity Aug 2, 2024
@lentschi lentschi transferred this issue from foodcoops/foodsoft_hackathon Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant