update option and menu export csv single

This commit is contained in:
Aung Myo
2018-03-16 17:41:30 +06:30
parent f0e81caad0
commit e956b54886
14 changed files with 84 additions and 183 deletions

View File

@@ -21,11 +21,12 @@ class Transactions::OrdersController < ApplicationController
@receipt_no = filter
@from = from
@to = to
respond_to do |format|
format.html # index.html.erb
format.json { render json: @orders }
end
format.html
format.json { render json: @orders }
# format.csv { send_data OrdersCsvExport.generate }
end
end
def show