add Old Town req:

This commit is contained in:
phyusin
2018-02-27 10:02:14 +06:30
parent 72b5701ec9
commit 1b1206d735
7 changed files with 1163 additions and 177 deletions

View File

@@ -0,0 +1,18 @@
class Reports::ProductSaleController < BaseReportController
authorize_resource :class => false
def index
@order_by = params[:order_by]
@sale_data = Sale.get_menu_item_query(@order_by)
# get printer info
@print_settings = PrintSetting.get_precision_delimiter()
respond_to do |format|
format.html
format.json
format.xls
end
end
end