queue acess on cashier and shiftclose to logout

This commit is contained in:
Aung Myo
2017-07-11 16:20:30 +06:30
parent b1b9b5a93f
commit d840b08db2
3 changed files with 12 additions and 6 deletions

View File

@@ -100,6 +100,8 @@ class Ability
can :show, :payment
can :create, :payment
can :reprint, :payment
can :manage, DiningQueue
elsif user.role == "accountant"