diff --git a/chezbetty/datalayer.py b/chezbetty/datalayer.py index 827e650..4f0aff1 100644 --- a/chezbetty/datalayer.py +++ b/chezbetty/datalayer.py @@ -49,6 +49,7 @@ def wrapper(*args, **kwargs): def can_undo_event(e): if e.type != 'deposit' and e.type != 'purchase' and e.type != 'restock' \ and e.type != 'inventory' and e.type != 'emptycashbox' \ + and e.type != 'emptysafe' \ and e.type != 'donation' and e.type != 'withdrawal' \ and e.type != 'reimbursement': return False