diff --git a/app/models/batch_line_item.rb b/app/models/batch_line_item.rb index c0b2564..3a658c6 100644 --- a/app/models/batch_line_item.rb +++ b/app/models/batch_line_item.rb @@ -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|