feat(manager): can hide instructeurs email from procedure

This commit is contained in:
Colin Darie 2024-09-10 18:16:40 +02:00
parent 615b4a6bc4
commit 0201feec65
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -51,7 +51,8 @@ class ProcedureDashboard < Administrate::BaseDashboard
for_tiers_enabled: Field::Boolean, for_tiers_enabled: Field::Boolean,
replaced_by_procedure_id: Field::String, replaced_by_procedure_id: Field::String,
tags: Field::Text, tags: Field::Text,
template: Field::Boolean template: Field::Boolean,
hide_instructeurs_email: Field::Boolean
}.freeze }.freeze
# COLLECTION_ATTRIBUTES # COLLECTION_ATTRIBUTES
@ -113,6 +114,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:estimated_duration_visible, :estimated_duration_visible,
:piece_justificative_multiple, :piece_justificative_multiple,
:for_tiers_enabled, :for_tiers_enabled,
:hide_instructeurs_email,
:replaced_by_procedure_id :replaced_by_procedure_id
].freeze ].freeze
@ -126,6 +128,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:estimated_duration_visible, :estimated_duration_visible,
:piece_justificative_multiple, :piece_justificative_multiple,
:for_tiers_enabled, :for_tiers_enabled,
:hide_instructeurs_email,
:replaced_by_procedure_id :replaced_by_procedure_id
].freeze ].freeze