update authorize void and edit in cashier
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user