Merge pull request #8944 from colinux/manager-replace-by-procedure

ETQ super-admin je peux éditer l'attribut d'une démarche qui pointe vers la démarche qui la remplace
This commit is contained in:
Colin Darie 2023-04-21 13:20:47 +00:00 committed by GitHub
commit 4f78aac297
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
max_duree_conservation_dossiers_dans_ds: Field::Number,
estimated_duration_visible: Field::Boolean,
piece_justificative_multiple: Field::Boolean,
replaced_by_procedure_id: Field::String,
tags: Field::Text
}.freeze
@ -95,7 +96,8 @@ class ProcedureDashboard < Administrate::BaseDashboard
:duree_conservation_dossiers_dans_ds,
:max_duree_conservation_dossiers_dans_ds,
:estimated_duration_visible,
:piece_justificative_multiple
:piece_justificative_multiple,
:replaced_by_procedure_id
].freeze
# FORM_ATTRIBUTES
@ -106,7 +108,8 @@ class ProcedureDashboard < Administrate::BaseDashboard
:duree_conservation_dossiers_dans_ds,
:max_duree_conservation_dossiers_dans_ds,
:estimated_duration_visible,
:piece_justificative_multiple
:piece_justificative_multiple,
:replaced_by_procedure_id
].freeze
# Overwrite this method to customize how procedures are displayed