fix material release CSV export

This commit is contained in:
Bilal
2020-08-05 15:16:00 +02:00
parent 088994b90c
commit 78d182624d
3 changed files with 4 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ class MaterialRelease < ApplicationRecord
class << self
def custom_csv_exportable_headers
%i[name]
%i[approved? name owner_info]
end
end

View File

@@ -908,6 +908,7 @@ en:
empty: Material Releases will appear here
table_headers:
approved: Approved
approved?: Approved
name: Name
notes: Notes
owner_info: Owner Info

View File

@@ -448,6 +448,8 @@ es:
owner_info: Owner Info
signed_at: Date Signed (ES)
tags: Tags (ES)
approved: Approved (ES)
approved?: Approved (ES)
medical_releases:
custom_validation_errors:
question_answer_is_required: answer is required (ES)