-
This commit is contained in:
@@ -72,7 +72,7 @@ class BatchLineItem < ApplicationRecord
|
|||||||
if !find_client.nil?
|
if !find_client.nil?
|
||||||
encrypt_key=find_client.secrect_key
|
encrypt_key=find_client.secrect_key
|
||||||
end
|
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.generate(headers: true) do |csv|
|
||||||
csv << attributes
|
csv << attributes
|
||||||
all.each do |encoder|
|
all.each do |encoder|
|
||||||
|
|||||||
Reference in New Issue
Block a user