Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show order details when selected #11

Open
wvengen opened this issue Nov 4, 2018 · 1 comment
Open

Show order details when selected #11

wvengen opened this issue Nov 4, 2018 · 1 comment

Comments

@wvengen
Copy link
Member

wvengen commented Nov 4, 2018

When an order is selected in the filters (or via the URL), show order details above the articles.

This could show:

  • supplier name
  • supplier homepage link
  • when the order will be closed
  • pickup date
  • minimum order quantity & current order amount

Especially the minimum order quantity and current order amount is important to show, and it is not shown elsewhere when using foodsoft-shop (see also #7).

@wvengen
Copy link
Member Author

wvengen commented Nov 4, 2018

Right now orders are fetched only once. Since current order amount can change with each order modification, it needs to be updated. That could happen as follows: when an order is selected (and the order details will be shown with the current order amount), re-fetch the selected order and update it in the store (updating the entry in the list of orders).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant