This commit is contained in:
nandar
2018-03-06 13:42:01 +06:30
parent 2132ccfcae
commit 15d1df08fa

View File

@@ -72,7 +72,7 @@ class BatchLineItem < ApplicationRecord
if !find_client.nil?
encrypt_key=find_client.secrect_key
end
attributes = %w{serial_no asset_identity batch_id manufacture_uid asset_type secret_token location}
attributes = %w{serial_no asset_identity batch_id manufacture_uid asset_type secret_token location security_code}
CSV.generate(headers: true) do |csv|
csv << attributes
all.each do |encoder|