Skip to content

Commit

Permalink
allow undoing safe empties
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Sep 7, 2016
1 parent 9ee40e1 commit 92941cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chezbetty/datalayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92941cf

Please sign in to comment.