diff --git a/app/models/ability.rb b/app/models/ability.rb index 00bb5b2c..1938fb45 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -37,6 +37,8 @@ class Ability can :index, :saleitem can :index, :receipt_no can :index, :shiftsale + can :index, :credit_payment + can :index, :void_sale can :get_customer, Customer can :add_customer, Customer @@ -113,6 +115,8 @@ class Ability can :index, :saleitem can :index, :receipt_no can :index, :shiftsale + can :index, :credit_payment + can :index, :void_sale elsif user.role == "supervisour" diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 2a328cc9..904749e6 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -43,6 +43,8 @@
  • <%= link_to "Sales Item Report", reports_saleitem_index_path, :tabindex =>"-1" %>
  • <%= link_to "Receipt Report", reports_receipt_no_index_path, :tabindex =>"-1" %>
  • <%= link_to "Shift Sale Report", reports_shiftsale_index_path, :tabindex =>"-1" %>
  • +
  • <%= link_to "Credit Sale Report", reports_credit_payment_index_path, :tabindex =>"-1" %>
  • +
  • <%= link_to "Void Sale Report", reports_void_sale_index_path, :tabindex =>"-1" %>