1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-11-05 01:12:37 +01:00

Fix dish form and add kitchen view

This commit is contained in:
Ehouarn
2025-10-31 17:47:11 +01:00
parent 6bf21b103f
commit 30a598c0b7
8 changed files with 120 additions and 23 deletions

View File

@@ -21,7 +21,6 @@ function delete_button (button_id, table_id) {
* @param table_id: Id of the table to reload
*/
function serve_button(button_id, table_id, current_state) {
console.log("update")
const new_state = !current_state;
$.ajax({
url: '/api/food/order/' + button_id + '/',