Add opendata attribute on manager

This commit is contained in:
Mathieu Magnin 2024-09-20 11:30:12 +02:00
parent cd8c55b161
commit a11fb0081e
No known key found for this signature in database
GPG key ID: 8DCAFC82D7BA654E

View file

@ -53,6 +53,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
replaced_by_procedure_id: Field::String, replaced_by_procedure_id: Field::String,
tags: Field::Text, tags: Field::Text,
template: Field::Boolean, template: Field::Boolean,
opendata: Field::Boolean,
hide_instructeurs_email: Field::Boolean hide_instructeurs_email: Field::Boolean
}.freeze }.freeze
@ -117,6 +118,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:piece_justificative_multiple, :piece_justificative_multiple,
:for_tiers_enabled, :for_tiers_enabled,
:hide_instructeurs_email, :hide_instructeurs_email,
:opendata,
:replaced_by_procedure_id :replaced_by_procedure_id
].freeze ].freeze