|
|
@@ -40,9 +40,9 @@ class Ability
|
|
|
|
|
|
elsif user.usertype == "G"
|
|
|
# Cajas registradoras
|
|
|
- can :manage, [CashRegister, Purchase, Product, PrePurchase, Seller, Sale, Expense, ProductWaste, Transfer, OpenCashRegister, CashOut, Supplier, Customer, Credit, CreditPayment, Commission, Sellerscommission, ProductsReturn]
|
|
|
+ can :manage, [CashRegister, Purchase, Product, PrePurchase, Seller, Sale, Expense, ProductWaste, Transfer, OpenCashRegister, CashOut, Supplier, Customer, Credit, CreditPayment, Commission, Sellerscommission, ProductsReturn, Category]
|
|
|
# Categorias
|
|
|
- can :read, [Category, SpecialPrice, Expensesconcept, Credit, CreditPayment, Unit]
|
|
|
+ can :read, [SpecialPrice, Expensesconcept, Credit, CreditPayment, Unit]
|
|
|
# Clientes
|
|
|
can :cru, [Customer, BillingInformation, Pointsale, User, Warehouse, Credit, CreditPayment, Commission, Sellerscommission]
|
|
|
|