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

Add "View Consumption Schedule" modal to the "Articles in Stock" registry #5292

Closed
jniles opened this issue Jan 14, 2021 · 4 comments · Fixed by #5785
Closed

Add "View Consumption Schedule" modal to the "Articles in Stock" registry #5292

jniles opened this issue Jan 14, 2021 · 4 comments · Fixed by #5785

Comments

@jniles
Copy link
Collaborator

jniles commented Jan 14, 2021

This feature depends on #5226.

We currently have a "Consumption Schedule" where we assume that a depot will consume the lots in order of expiration date from soonest expiration date to the longest. It would be nice to display this to the user in a graphical format - something like a Gantt chart. This would allow the user to see which lot (on the Y axis) will be used during which time (on the X axis). We could include cutoffs for their expiration dates so the user can see why they are unable to use all the quantity they think they have in stock, even if they have a large quantity in stock.

This would be linked from the Articles in Stock registry.

Here is a good example of how it should look:

https://cdpn.io/tutsplus/fullembedgrid/ZEzerNB?animations=run&type=embed

@jniles
Copy link
Collaborator Author

jniles commented Jun 9, 2021

image

A better image to inspire what the form might look like.

@jmcameron
Copy link
Collaborator

@jniles Where is the "Consumption Schedule" you mentioned in the issue description?

@jniles
Copy link
Collaborator Author

jniles commented Jun 24, 2021

The diagram looks kind of like a scheduling diagram of when you would consume different stock lots. That's what I meant by the "consumption schedule". Arguably, we could pick a better term.

@jmcameron
Copy link
Collaborator

The diagram looks kind of like a scheduling diagram of when you would consume different stock lots. That's what I meant by the "consumption schedule". Arguably, we could pick a better term.

I thought you meant that there is something that computed the dates for the lots but was not graphical. So I wanted to see that to use it as a starting point.

@bors bors bot closed this as completed in #5785 Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants