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

Generate MasterLog PDF #45

Open
Amnesthesia opened this issue Oct 26, 2022 · 0 comments
Open

Generate MasterLog PDF #45

Amnesthesia opened this issue Oct 26, 2022 · 0 comments
Labels
feature help wanted Extra attention is needed

Comments

@Amnesthesia
Copy link
Contributor

MasterLog needs to be generated as JSON because querying for past loads is unreliable, as users may change their names/equipment/weights/etc which means the data in the master log doesn't accurately provide a snapshot of that day.

Suggest creating an interaction that builds a JSON snapshot of all necessary data, and running this at midnight every day for each dropzone, and if it's speedy enough, maybe every time a load is cancelled or marked as landed as well.

Additionally, we need a way of rendering this snapshot, which means building GraphQL types to retrieve the data, e.g Types::MasterLog::Load, Types::MasterLog::Slot, etc, and adapt the master log screen to query and render this data, and a PDF template to create daily master log PDFs to download at the end of each day

@Amnesthesia Amnesthesia added feature help wanted Extra attention is needed labels Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant