Commit graph

1472 commits

Author SHA1 Message Date
Philipp Rothmann
6cec721d4d group order show window with some explanations 2023-02-22 14:31:17 +01:00
Philipp Rothmann
dd7beab9bd group order switch menu use show view 2023-02-22 14:30:23 +01:00
Philipp Rothmann
c3761095e7 group order fix dancing quantity buttons 2023-02-22 14:29:46 +01:00
Philipp Rothmann
9dca57dcef group order package indication uses more color-blind friendly color 2023-02-22 14:28:17 +01:00
Philipp Rothmann
8b86959f13 dashboard make show edit current order action more precise 2023-02-22 12:39:57 +01:00
Philipp Rothmann
fead6a1c0d rework group order show view 2023-02-22 12:12:16 +01:00
Philipp Rothmann
a0d62f7948 wip: rework group order details
tried to reduce the amount of informations shown. but needs some user feedback, what information are actually relevant
2023-02-22 12:12:16 +01:00
Philipp Rothmann
657b3e63bc rework group order edit form
* make switch order a menu list
* table more slim
* alert when balance negative instead of making everything red
* search to the right
2023-02-22 12:12:16 +01:00
Philipp Rothmann
fec94f9683 fix switch menu 2023-02-21 14:07:02 +01:00
Philipp Rothmann
5e9bd17606 group order make 'current orders' more obvious 2023-02-20 22:33:42 +01:00
Philipp Rothmann
ae09bbaced group order pull search to the right 2023-02-20 22:32:33 +01:00
Philipp Rothmann
a847d86121 group order make order details collapse 2023-02-20 22:32:07 +01:00
Philipp Rothmann
2530535244 roup order swap plus and minus buttons
because it's more naturally intuitive like this
2023-02-20 19:35:26 +01:00
Philipp Rothmann
fbe3799c97 order article disabled button should be gray 2023-02-20 19:17:36 +01:00
Philipp Rothmann
3fa8dba5df remove group order panel close buttons
things shouldn't just disapear
2023-02-20 18:57:23 +01:00
Philipp Rothmann
4150403a33 order article colors more friendly and more responsive 2023-02-20 18:52:13 +01:00
86708f6f8d solve hover problem for ordering articles 2023-02-20 17:43:27 +01:00
37743d4586 fix behavior - when link is provided in article details not clickable due to hover property 2023-02-20 17:42:57 +01:00
91a38bc73b move BigDecimal.new to BigDecimal() 2023-02-17 13:16:28 +01:00
782194cd08 change .search to .ransack for updated ransack gem 2023-02-17 13:16:19 +01:00
Philipp Rothmann
666e7934a6 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>
2023-02-10 12:24:42 +01:00
fb8ccfea4a rails up to 7.0and ruby to 2.7.2
mv lib to app/lib due to upgrade

removing concerns from autoload path

resolve zeitwerk issues

make foodsoft run for dev on rails 7 and ruby 2.7

fix mail file permission bug

fix database_config

fix articles controller test ActiveModell::Error

bump Gemfile.lock
2023-01-17 16:35:04 +01:00
Philipp Rothmann
d16aa19300 Add home controller test
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-authored-by: Tobias Kneuker <tk@pragma-shift.net>
2023-01-17 16:09:27 +01:00
Florian Lentsch
ec6d69c27f Allow entering decimals (#830, PR #868) 2022-12-14 10:17:40 +01:00
3ffdb424d5 replace deprecated update_attributes with update 2022-10-26 13:19:27 +02:00
Patrick Gansterer
bc5bc2d5ac Refactor LocalizeInput to reuse parse functionality 2022-05-27 17:24:57 +02:00
Patrick Gansterer
6a3636d8cb Move code from localize_input gem into Foodsoft 2022-05-27 17:24:57 +02:00
Harald Reingruber
0a6345c60b
Make columns of user and ordergroup lists sortable
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.
2022-05-27 17:06:25 +02:00
Harald Reingruber
15e715c9f3
Fix filtering of active ordergroups 2022-03-08 00:11:06 +01:00
mariandl
708f85a839
Add admin UI for SupplierCategories 2022-02-20 16:43:20 +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
Patrick Gansterer
052d297bff Add expected_amount to Invoice
expected_amount returns the sum of all associated orders together with
the transport costs.
2022-02-18 13:12:27 +01:00
Patrick Gansterer
093313f0f3 Add small improvements for BankTransactions 2022-02-18 12:55:02 +01:00
Patrick Gansterer
6d71bd2c2f Fix active ordergroup 2022-02-18 12:54:07 +01:00
Patrick Gansterer
cdc9e91d26 Add supplier_categories to BankAccount 2022-02-18 12:47:09 +01:00
Patrick Gansterer
8f92915818 Allow minimal password length of 5 characters 2022-02-18 12:47:09 +01:00
Patrick Gansterer
79fdb4dafb Add admin UI for BankGateway 2022-02-18 10:09:15 +01:00
Patrick Gansterer
87fe9ccdb1 Add model for BankGateway 2022-02-18 10:09:15 +01:00
Patrick Gansterer
7e60ce6ce2 Add BankAccount to SupplierCategory 2022-02-18 10:09:15 +01:00
kidhab
64ab699047
Allow longer passwords (#923) 2022-02-16 18:13:08 +01:00
kidhab
7574f4eb07
Add validation of more article fields (PR #917)
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.
2022-01-26 09:22:41 +01:00
kidhab
4306389f93
Enable to configure feedback recipient address (PR #901) 2021-12-28 19:40:26 +01:00
twothreenine
b2a6c198ac
Improve invoice and supplier show views (#840) 2021-03-24 21:29:44 +01:00
Patrick Gansterer
d48320f9e0 Add CSV download for User 2021-03-08 17:28:08 +01:00
Patrick Gansterer
47d9c79617 Use ActiveJob instead of Resque directly
This allows us to directly pass entities to the job.
2021-03-08 12:30:58 +01:00
Patrick Gansterer
4b7cbf111f Fix small issues after 401c8f5 and 67ad202 2021-03-05 14:14:56 +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
wvengen
f45afb7dd4 Fix error handling in single coop installs (PR #841) 2021-02-26 15:24:33 +01:00