diff --git a/app/models/acquired_media_release.rb b/app/models/acquired_media_release.rb index 5593c03..d7519fc 100644 --- a/app/models/acquired_media_release.rb +++ b/app/models/acquired_media_release.rb @@ -18,7 +18,7 @@ class AcquiredMediaRelease < ApplicationRecord class << self def custom_csv_exportable_headers - %i[approved? name file_infos_count owner_info] + %i[name file_infos_count owner_info] end end diff --git a/app/models/appearance_release.rb b/app/models/appearance_release.rb index 324296e..00576e1 100644 --- a/app/models/appearance_release.rb +++ b/app/models/appearance_release.rb @@ -20,7 +20,7 @@ class AppearanceRelease < ApplicationRecord class << self def custom_csv_exportable_headers - %i[approved? name contact_info] + %i[name contact_info] end end diff --git a/app/models/concerns/csv_exportable.rb b/app/models/concerns/csv_exportable.rb index 4bf3704..69ac758 100644 --- a/app/models/concerns/csv_exportable.rb +++ b/app/models/concerns/csv_exportable.rb @@ -3,8 +3,8 @@ module CsvExportable extend ActiveSupport::Concern - COMMON_HEADERS = %i[notes tags signed_at].freeze - COMMON_VALUES = %w[clean_notes clean_tags signed_on].freeze + COMMON_HEADERS = %i[approved notes tags signed_at].freeze + COMMON_VALUES = %w[approved? clean_notes clean_tags signed_on].freeze included do class << self diff --git a/app/models/location_release.rb b/app/models/location_release.rb index b3825c1..fa17056 100644 --- a/app/models/location_release.rb +++ b/app/models/location_release.rb @@ -16,7 +16,7 @@ class LocationRelease < ApplicationRecord class << self def custom_csv_exportable_headers - %i[approved? location_info owner_info amendment_signed_column] + %i[location_info owner_info amendment_signed_column] end end diff --git a/app/models/material_release.rb b/app/models/material_release.rb index d72a299..4e41649 100644 --- a/app/models/material_release.rb +++ b/app/models/material_release.rb @@ -20,7 +20,7 @@ class MaterialRelease < ApplicationRecord class << self def custom_csv_exportable_headers - %i[approved? name owner_info] + %i[name owner_info] end end diff --git a/app/models/medical_release.rb b/app/models/medical_release.rb index 0a1206b..6e12549 100644 --- a/app/models/medical_release.rb +++ b/app/models/medical_release.rb @@ -16,7 +16,7 @@ class MedicalRelease < ApplicationRecord class << self def custom_csv_exportable_headers - %i[approved? name contact_info] + %i[name contact_info] end end diff --git a/app/models/misc_release.rb b/app/models/misc_release.rb index d7a3d46..f59dbec 100644 --- a/app/models/misc_release.rb +++ b/app/models/misc_release.rb @@ -14,7 +14,7 @@ class MiscRelease < ApplicationRecord class << self def custom_csv_exportable_headers - %i[approved? name contact_info] + %i[name contact_info] end end diff --git a/app/models/music_release.rb b/app/models/music_release.rb index 8965fc0..9c8454e 100644 --- a/app/models/music_release.rb +++ b/app/models/music_release.rb @@ -12,7 +12,7 @@ class MusicRelease < ApplicationRecord class << self def custom_csv_exportable_headers - %i[approved? name file_infos_count composers_count publishers_count] + %i[name file_infos_count composers_count publishers_count] end end diff --git a/app/models/talent_release.rb b/app/models/talent_release.rb index 5580c68..ddf4246 100644 --- a/app/models/talent_release.rb +++ b/app/models/talent_release.rb @@ -19,7 +19,7 @@ class TalentRelease < ApplicationRecord class << self def custom_csv_exportable_headers - %i[approved? name phone email] + %i[name phone email] end end diff --git a/config/locales/en.yml b/config/locales/en.yml index 480a5ce..955a672 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -62,7 +62,6 @@ en: empty: Acquired Media Releases will appear here table_headers: approved: Approved - approved?: Approved file_infos_count: No. Files name: Name notes: Notes @@ -176,7 +175,6 @@ en: imported_appearance_release_missing_attachment: Person photo or contract missing for imported appearance release table_headers: approved: Approved - approved?: Approved contact_info: Contact info name: Name notes: Notes @@ -856,7 +854,6 @@ en: amendment_signed: Amendment amendment_signed_column: Amendment approved: Approved - approved?: Approved location_info: Location Info notes: Notes owner_info: Owner Info @@ -908,7 +905,6 @@ en: empty: Material Releases will appear here table_headers: approved: Approved - approved?: Approved name: Name notes: Notes owner_info: Owner Info @@ -936,7 +932,6 @@ en: empty: Medical releases will appear here table_headers: approved: Approved - approved?: Approved contact_info: Contact info name: Person name notes: Notes @@ -957,7 +952,6 @@ en: empty: Misc Releases will appear here table_headers: approved: Approved - approved?: Approved contact_info: Contact info name: Person name notes: Notes @@ -996,7 +990,6 @@ en: empty: Music Releases will appear here table_headers: approved: Approved - approved?: Approved composers_count: No. Composers file_infos_count: No. Files name: Name @@ -1456,7 +1449,6 @@ en: empty: Talent Releases will appear here table_headers: approved: Approved - approved?: Approved email: Email name: Name notes: Notes diff --git a/config/locales/es.yml b/config/locales/es.yml index 3ee1982..2df8430 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -17,7 +17,6 @@ es: index: table_headers: approved: Appproved (ES) - approved?: Appproved (ES) file_infos_count: No. Files (ES) name: Name (ES) notes: Notes (ES) @@ -68,7 +67,6 @@ es: imported_appearance_release_missing_attachment: Person photo or contract missing for imported appearance release (ES) table_headers: approved: Approved (ES) - approved?: Approved (ES) contact_info: "" name: "" notes: "" @@ -418,7 +416,6 @@ es: amendment_signed: Amendment (ES) amendment_signed_column: Amendment signed (ES) approved: Approved (ES) - approved?: Approved (ES) notes: Notes (ES) signed_at: Date Signed (ES) tags: Tags (ES) @@ -445,7 +442,6 @@ es: index: table_headers: approved: Approved (ES) - approved?: Approved (ES) name: Name (ES) notes: Notes (ES) owner_info: Owner Info @@ -457,7 +453,6 @@ es: index: table_headers: approved: Approved (ES) - approved?: Approved (ES) contact_info: Contact info (ES) name: Person name (ES) notes: Notes (ES) @@ -472,7 +467,6 @@ es: index: table_headers: approved: Approved (ES) - approved?: Approved (ES) contact_info: Contact info (ES) name: Person name (ES) notes: Notes (ES) @@ -482,7 +476,6 @@ es: index: table_headers: approved: Approved (ES) - approved?: Approved (ES) composers_count: No. Composers (ES) file_infos_count: No. Files (ES) name: Name (ES) @@ -645,7 +638,6 @@ es: index: table_headers: approved: Approved (ES) - approved?: Approved (ES) email: Email (ES) name: Name (ES) notes: Notes (ES)