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

Need to delete all orders from db associated to a diningsession #30

Open
Gabetn opened this issue Mar 24, 2019 · 0 comments
Open

Need to delete all orders from db associated to a diningsession #30

Gabetn opened this issue Mar 24, 2019 · 0 comments
Labels
wontfix This will not be worked on

Comments

@Gabetn
Copy link
Collaborator

Gabetn commented Mar 24, 2019

What

I.e. when we resolve that dining session in staff view by marking the bill as paid, we need to delete the orders from the database as opposed to removing them from the relationship to the diningsession and leaving them free floating.

Why

When displaying counter (notification) to staff of the number of orders we are counting this.props.orders.length which would require deletion of old free-floating orders.

@Gabetn Gabetn added the wontfix This will not be worked on label Mar 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant