foodsoft/plugins/current_orders
2023-09-04 13:01:04 +02:00
..
app chore: rubocop 2023-06-09 17:35:05 +02:00
config chore: update chrowdin translations 2023-09-04 13:01:04 +02:00
lib chore: rubocop 2023-06-09 17:35:05 +02:00
foodsoft_current_orders.gemspec chore: rubocop 2023-06-09 17:35:05 +02:00
README.md Switch license to AGPL (fixes #496, PR #513) 2017-11-10 17:02:35 +01:00

FoodsoftCurrentOrders

Foodsoft is currently designed to work with one order at a time. In practice, however there can be multiple orders open at the same time, with one pickup day. The proper solution to this is to introduce the notion of order cycles, with each order belonging to a cycle. Until that time, we have this plugin, with screens for working on all orders that are closed-but-not-finished.

Important: be sure to settle orders from the previous order cycle, before you close any. If you don't, articles from previous and current dates start to mix up (if you do, settle the old ones asap).

  • current_orders/orders/receive for a list of orders that can be received.
  • current_orders/orders.pdf?document=(groups|articles) for PDFs for all orders that are closed but not settled.
  • current_orders/articles to edit an order article's ordergroups in all orders that are closed but not settled.
  • current_orders/ordergroups to edit an ordergroup's order articles in all orders that are closed but not settled.
  • current_orders/group_orders for all articles in the user's group orders from orders that are not settled. Can be used as a "shopping-cart overview" or "checkout" page.

New menu items will be added in the "Orders" menu. Please note that members with Orders permission will now be able to edit the amounts members received in some of these screens, something that was previously restricted to the Finance permission.

This plugin is not enabled by default. To install it, add uncomment the corresponding line in the Gemfile, or add:

gem 'foodsoft_current_orders', path: 'plugins/current_orders'

This plugin introduces the foodcoop config option use_current_orders, which needs to be set to true to enable the plugin. This can be done in the configuration screen or config/app_config.yml.

This plugin is part of the foodsoft package and uses the AGPL-3 license (see foodsoft's LICENSE for the full license text).