update ability and report xls

This commit is contained in:
Aung Myo
2017-12-01 13:54:58 +06:30
parent 1dd920088b
commit a687e77efa
8 changed files with 696 additions and 509 deletions

View File

@@ -41,6 +41,13 @@ class Ability
can :index, :credit_payment
can :index, :void_sale
can :show, :dailysale
can :show, :saleitem
can :show, :receipt_no
can :show, :shiftsale
can :show, :credit_payment
can :show, :void_sale
can :get_customer, Customer
can :add_customer, Customer
can :update_sale_by_customer, Customer
@@ -128,6 +135,12 @@ class Ability
can :index, :shiftsale
can :index, :credit_payment
can :index, :void_sale
can :show, :dailysale
can :show, :saleitem
can :show, :receipt_no
can :show, :shiftsale
can :show, :credit_payment
can :show, :void_sale
elsif user.role == "supervisor"