update authorize void and edit in cashier

This commit is contained in:
Aung Myo
2017-06-29 15:39:46 +06:30
parent f60c145c00
commit 9305e0c4b4
5 changed files with 18 additions and 10 deletions

View File

@@ -54,6 +54,14 @@ class Ability
can :move_dining, :moveroom
can :edit, :sale_edit
can :item_void, :sale_edit
can :item_void_cancel, :sale_edit
can :cancel_all_void, :sale_edit
can :apply_void, :sale_edit
can :overall_void, :void
elsif user.role == "cashier"
can :read, Order