Skip to content

Fix order double start#1

Open
joerixaop wants to merge 3 commits intomasterfrom
fix-order-double-start
Open

Fix order double start#1
joerixaop wants to merge 3 commits intomasterfrom
fix-order-double-start

Conversation

@joerixaop
Copy link
Member

Sometimes (for various reasons) the pizza order doesn't get closed properly at the end of a Friday.

This patches at least part of this issue. It also records the first time when a pizza order is opened.

All code is untested, in particular various uses of this.currentOrder() may not work as expected.

Note that this should probably only happen if the pizza order is too
old, but dates are recorded on closing not on opening, so that requires
some other changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant