update authorize

This commit is contained in:
Aung Myo
2017-06-23 09:41:48 +06:30
parent 5abda623ff
commit 01e5b7ba6c
60 changed files with 1141 additions and 34 deletions

View File

@@ -0,0 +1,19 @@
class Reports::SaleItemsController < BaseReportController
authorize_resource :class => false
def index
from, to, report_type = get_date_range_from_params
@sale_data = Sale.get_by_range_by_saleitems(from,to,Sale::SALE_STATUS_COMPLETED,report_type)
respond_to do |format|
format.html
format.xls
end
end
def show
end
end