Open JobDoesburg opened 3 years ago
I think it would be nice to do this. Something to think about is how to determine whether someone is allowed to order only 1 (or maybe up to some other number) item (in a shift, from a product list, or of a specific product).
finally something in the sales
app that we could actually use the TOSTI code for
But I agree that we should carefully think this through because I want to keep the code as clean as possible
A field doesn't really count as using the code 😆
I think the motivation of this issue is wrong. It wouldn't really end up as simpler or better code. The pizzas app is not written perfectly, but it is quite nice because it only does 1 single thing. And it does it well.
The real motivation should be rethinking how often we order food and will do this in the future. The functionality is currently lacking, like food at GMs for example. Or having multiple events at the same time with takeout (should probably be the name new) offerings. More focus on removing code duplication and making this part ready for the future.
I suggest removing the solution you'd like, or at least make it clear that this is 1 possible solution.
Is your feature request related to a problem? Please describe.
sales
app that offers functionality that is very related to pizzasDescribe the solution you'd like
Rebuild
pizzas
on top ofsales
:Motivation
In the end: simpler and better code
This issue should be a place to discuss possible design decisions