foodcoopsat / foodsoft_hackathon

Other
1 stars 2 forks source link

Refactor all calls to `ArticleVersion.unit_quantity` #96

Open lentschi opened 2 months ago

lentschi commented 2 months ago

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