check route in product sale
This commit is contained in:
@@ -2,11 +2,8 @@ class Reports::ProductSaleController < BaseReportController
|
||||
authorize_resource :class => false
|
||||
|
||||
def index
|
||||
@order_by = 'desc'
|
||||
if !params[:order_by].nil?
|
||||
@order_by = params[:order_by]
|
||||
end
|
||||
|
||||
@order_by = params[:order_by]
|
||||
|
||||
@sale_data = Sale.get_menu_item_query(@order_by)
|
||||
|
||||
# get printer info
|
||||
|
||||
Reference in New Issue
Block a user