add custom_csv_collection to orders helper
add rute and controller method to orders controller
add custom csv to download dropdown
add functionality to choose column headers + order for custom csv and append order.sum gross&net to custom csv
Prevents division by zero exception because of a unit beeing 0.
A Unit becomes also zero e.g. when a comma symbol is used Unit.new("0,9kg") == 0
fixes#1014
* introduce importmaps
This commit introduces importmaps. They allow to use modern javacript ESM within rails without webpack, yarn etc.
see https://github.com/rails/importmap-rails for more details.
Co-authored-by: Philipp Rothmann <philipprothmann@posteo.de>
Co-authored-by: FGU <fgu@pragma-shift.net>
* fix: rubocop violations
---------
Co-authored-by: FGU <fgu@pragma-shift.net>
chore: fix api test conventions
chore: rubocop -A spec/
chore: more rubocop -A
fix failing test
rubocop fixes
removes helper methods that are in my opinion dead code
more rubocop fixes
rubocop -a --auto-gen-config
* Added Turkish translation with help of ChatGPT
* Changed 'article' and 'item' to 'ürün' and addedtranslations for messages plugin
* added translation for the rest of plugins
* merge conflicts
* fix tr.yml in messages plugin
* Corrected more translations
---------
Co-authored-by: Nurp <>
Usually the Foodcoop's website and the help pages are external
resources. If they load in the same window one could forget to logout
from the Foodsoft.
This commit implements the sort functionality for the user lists (by name, email, last_activity) and ordergroup lists (by name).
It is a first attempt addressing issue #560.
If one adds a some text that is longer than 255 characters into these articles fields the browser shows an unspecific error messages. With this validation an understandable message will be shown.