Merge branch 'adminbsb_material_ui'

This commit is contained in:
Aung Myo
2018-01-16 11:01:34 +06:30
7 changed files with 59 additions and 46 deletions

View File

@@ -89,10 +89,14 @@ class Ability
can :manage, Inventory
can :index, :home
can :show, :home
elsif user.role == "cashier"
# can :overall_void, :void
can :index, :home
can :show, :home
can :read, Order
can :update, Order
can :menage, Booking
@@ -176,6 +180,9 @@ class Ability
can :manage, Promotion
can :manage, Product
can :index, :home
can :show, :home
end
end
end