export to seller csv
This commit is contained in:
@@ -198,7 +198,7 @@ class BatchLineItemsController < ApplicationController
|
||||
filename=client_name.to_s+"_"+product_name.to_s+"_"+datestr
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.csv { send_data @batchLineItems.to_csv(client_id,location_code), filename: "#{filename}.csv" }
|
||||
format.csv { send_data @batchLineItems.to_csv_seller(client_id,location_code), filename: "#{filename}.csv" }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user