diff --git a/inventory/routes/entry.py b/inventory/routes/entry.py index 363f361..f016f28 100644 --- a/inventory/routes/entry.py +++ b/inventory/routes/entry.py @@ -191,11 +191,14 @@ def init_entry_routes(app): "start_time", "end_time", "complete", + "updates", ] } else: raise TypeError("Invalid model.") + print(payload) + service = crudkit.crud.get_service(cls) service.update(id, data=payload, actor="update_entry") diff --git a/inventory/templates/submit_button.html b/inventory/templates/submit_button.html index c31081e..d50566e 100644 --- a/inventory/templates/submit_button.html +++ b/inventory/templates/submit_button.html @@ -1,5 +1,8 @@ -