see https://github.com/foodcoops/foodsoft/pull/907 for reference
and original work by viehlieb
Co-authored-by: viehlieb <pf@pragma-shift.net>
fix PDF Pdf
make explicit deposit in invoices work
add ordergroupname to invoice file name
mark bold sum for vat exempt foodcoops
download multiple group order invoice as zip
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
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
* Replace apivore api tests with rswag
* move to OpenAPI Spec 3.0.1
* a swagger UI is now reachable at http://localhost:3000/api-docs/index.html
* swagger file is generated by running `RAILS_ENV=test rails rswag`
and it was moved from /docs/swagger.v1.yml to /swagger/v1/swagger.yml
---------
Co-authored-by: viehlieb <pf@pragma-shift.net>
This commit adds new tests for a better coverage.
integration/
* home
* supplier
models/
* article
* delivery
* group_order_article
* supplier
also adds a new factory for delivery
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
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.
This implements parsing of the Account Information Service format as
defined in the Berlin Group Group NextGenPSD2 XS2A Framework, which
is widely used across various European banks.
This is a first step to replace the current bank import features with
a standardized JSON interface.
There is no need to set options other than the foodcoop during every
change of the scope. This also makes sure that the correct options will
be loaded during testing to fix problems with newer rails versions.