[manager] display zones for a procedure

This commit is contained in:
Christophe Robillard 2023-04-04 15:53:58 +02:00
parent 12f0c03bac
commit 7d94d321e9

View file

@ -16,7 +16,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
id: Field::Number.with_options(searchable: true),
libelle: Field::String,
description: Field::String,
zone: Field::BelongsTo,
zones: Field::HasMany,
lien_site_web: Field::String, # TODO: use Field::Url when administrate-v0.12 will be released
organisation: Field::String,
created_at: Field::DateTime,
@ -52,7 +52,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:id,
:created_at,
:libelle,
:zone,
:zones,
:service,
:dossiers,
:published_at,
@ -70,7 +70,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:tags,
:lien_site_web,
:organisation,
:zone,
:zones,
:service,
:created_at,
:updated_at,