update authroize

This commit is contained in:
Aung Myo
2017-06-26 22:45:34 +06:30
parent 0726af072e
commit 4c13be257b
34 changed files with 52 additions and 976 deletions

View File

@@ -0,0 +1,17 @@
class Reports::DailysaleController < BaseReportController
authorize_resource :class => false
def index
from, to ,report_type = get_date_range_from_params
@sale_data = Sale.daily_sales_list(from,to)
@tax = SaleTax.get_tax(from,to)
respond_to do |format|
format.html
format.xls
end
end
def show
end
end