3149e00e11
adapt tests for manually generating group order invoices for order
2022-04-05 12:05:17 +02:00
b2882d8592
Merge branch 'feature/tw_automatic_group_order_invoice_generation'
2022-03-01 13:31:29 +01:00
Patrick Gansterer
7e8c1d041d
Auto correct rubocop style issues
2022-02-20 16:28:54 +01:00
twothreenine
f3493b3242
charge transport cost as well when accounting order ( fix #861 after f7c7b56
)
2022-02-18 13:27:09 +01:00
kidhab
64ab699047
Allow longer passwords ( #923 )
2022-02-16 18:13:08 +01:00
Patrick Gansterer
bca29bea70
Bundle update midi-smtp-server
2022-02-16 17:56:04 +01:00
81a5194023
add vat exempt option in payment_tab ~ refs #automatic_go_invoices
...
add option vor vat_exempt inoices ~ refs automatic go invoices
fix order.ordergroup nil pointer error ~ automatic go invoices
fix nil pointer~ refs automatic go invoice
rubocop styling ~ refs automatic go invoice
2022-02-03 11:37:30 +01:00
Viehlieb
bafa163ce5
fix rubocop errors
2021-12-24 13:35:26 +01:00
Viehlieb
298a476061
add tests (integration + model)
2021-12-23 01:52:37 +01:00
Patrick Gansterer
ea2862fdef
Run rubocop --fix-layout and remove encoding comments
2021-03-02 09:12:19 +01:00
lentschi
9a7d4bf07d
Add option to send mails when an order has been received
2021-02-27 17:24:25 +01:00
Patrick Gansterer
7a6779ebfd
Add API v1 finance_overview endpoint
2021-02-24 15:50:22 +01:00
Patrick Gansterer
4752a0aaa9
Add method to parse bank transactions as JSON
...
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.
2021-02-24 14:59:55 +01:00
Patrick Gansterer
00f1dddd3d
Add admin interface to enable the self service functionality
2021-02-18 18:09:40 +01:00
Patrick Gansterer
e6061e6760
Add API v1 financial_transactions POST endpoint
...
In a first step we allow members to create financial transactions
for their own ordergroup.
2021-02-18 18:09:40 +01:00
Patrick Gansterer
434cc59ae8
Use GitHub Actions to upload Coveralls report
2021-02-18 15:38:16 +01:00
wvengen
69732cca0d
API v1 article_categories endpoint
2021-02-17 17:07:39 +01:00
wvengen
e1d50e5b9c
API v1 group_order_articles endpoints
2021-02-17 17:07:39 +01:00
wvengen
ed9192c47f
API v1 order_articles endpoints
2021-02-17 17:07:39 +01:00
wvengen
127ae83f04
API v1 orders endpoints
2021-02-17 17:07:39 +01:00
Patrick Gansterer
7d5155bef6
Add option to ignore financial transaction when calculating the balance
2021-02-17 14:07:03 +01:00
Patrick Gansterer
ca0398632b
Improve parsing of BankTransactionReference
...
Allow more characters before and after the actual reference.
Also use the correct matching method during testing.
2021-02-12 15:17:45 +01:00
Patrick Gansterer
be269101f8
API v1 financial_transaction_types endpoint
2021-02-12 15:17:25 +01:00
Patrick Gansterer
48391f818f
API v1 financial_transaction_classes endpoint
2021-02-12 15:17:25 +01:00
lentschi
45a8911ca6
Add option to ignore delivered amounts in order group distribution ( #765 )
2021-02-05 16:19:05 +01:00
Florian Lentsch
ecda1c1478
Added rspec tests for order boolean states
2021-02-05 14:57:26 +01:00
Florian Lentsch
f7b65856aa
Refactored order model's scope rspec test to ignore sequence
2021-02-05 14:57:26 +01:00
Florian Lentsch
e33d2d7f48
Added order scope rspec tests for #779
2021-02-05 14:57:26 +01:00
Patrick Gansterer
c6250de945
Disable JavaScript errors in tests
2020-09-05 16:55:43 +02:00
Patrick Gansterer
44a198c7bc
Adopt Rails 5 belongs_to_required_by_default
2020-09-05 14:40:11 +02:00
Florian Lentsch
5eb8abf431
Potential fix for one of the issues mentioned in #49
...
Reduces the number of SQL queries used on group_orders/index and
group_orders/archive, but adds extra complexity to the code
2020-07-29 13:15:11 +02:00
wvengen
ef1903381b
Improve testing on docker
2020-07-27 18:17:30 +02:00
wvengen
b96ce06d94
API v1 financial_transactions endpoints ( #627 )
2020-07-25 14:18:59 +00:00
Patrick Gansterer
1d9856ff93
Handle nil values correctly in User.authenticateUser
2019-11-11 11:10:26 +01:00
wvengen
ef613300e0
Reduce integration spec error rate ( #686 , PR #693 )
2019-10-30 15:56:53 +00:00
Patrick Gansterer
8e2ca5e7d7
Add automatic generation of financial transactions and links
2019-10-29 13:52:56 +01:00
Patrick Gansterer
91eeac6c40
Set the common ActionMailer default_url_options only once
...
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.
2019-10-29 13:40:45 +01:00
wvengen
6d9c35db20
Move to apparition for integration tests
2019-10-28 17:58:14 +00:00
wvengen
84319d2c1a
Update midi-smtp-server and silence test messages
2019-10-28 17:58:14 +00:00
wvengen
f2cb17bcd6
Upgrade factory_bot, faker
2019-10-28 17:58:14 +00:00
wvengen
e9be38b3e9
Add OAuth scopes
...
https://github.com/foodcoops/foodsoft/issues/582#issuecomment-442513237
2019-04-03 17:20:44 +00:00
wvengen
02f1940694
API v1 specs for user, config and navigation endpoints
2019-04-03 17:08:38 +00:00
wvengen
900cc91197
API documentation and spec setup
2019-04-03 17:08:38 +00:00
wvengen
25deefced1
Move setting availability to sync method
2019-03-24 22:14:10 +01:00
wvengen
9283ed4f5e
Fix syncing articles with non-import sync methods ( #633 )
2019-03-23 18:31:22 +01:00
Patrick Gansterer
4137992032
fix auto_close_and_send_min_quantity
2018-10-12 15:47:32 +02:00
Patrick Gansterer
924f346b4c
Show the financial transaction type if there are more than one type #367
2017-12-09 11:51:23 +01:00
Patrick Gansterer
e7657b987f
Update model to support financial transactions #367
...
This change introduces two new data types to group the financial
transactions. Now every transaction has a "type", which itself belongs
to a "class".
Types should be used add structured information to an transaction, instead
of writing it into the notice textfield. E.g. this could be used to have
different types depending on the source of money (cash vs. bank transfer).
Classes are shown as different columns in the tables and will be uses to
group transactions of specific types. They should be used if not the whole
amount of ordergroup should be used to order food. E.g. if there is a
deposit or membership fee, which is independent of the normal credit.
This will allow us to implement additional features based on classes in
the future. E.g. the sum of transactions in the "membership fee" class
must be positive to allow food orders or show a big warning if it is bellow
a certain value.
2017-12-09 11:51:23 +01:00
wvengen
8a5c130875
Bundle update
2017-10-27 23:21:31 +02:00
Patrick Gansterer
564492afe4
Add an option to automatically finish an order
2017-10-12 21:14:29 +02:00