Ramin-RX7 / CafeMenu

Café management website with custom dashboard panel for staff
MIT License
2 stars 4 forks source link

Set up proper urls for staff dashboard buttons #121

Closed Ramin-RX7 closed 1 year ago

Ramin-RX7 commented 1 year ago

In the staff panel, there are several links/buttons that has to perform an action on the orders.

We need different urls and views to handle these actions:


Note: simple actions mentioned in the list above has to use this as their decorator:

a function that will call the requested view and then return the user back to the dashboard url.

This is done to reduce the same code and also make the code easier to change (if the name of the url changes in the future)