superadmin can show zone for a procedure
This commit is contained in:
parent
c7b5e57d2a
commit
90c971567d
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
|
||||||
id: Field::Number.with_options(searchable: true),
|
id: Field::Number.with_options(searchable: true),
|
||||||
libelle: Field::String,
|
libelle: Field::String,
|
||||||
description: Field::String,
|
description: Field::String,
|
||||||
|
zone: Field::BelongsTo,
|
||||||
lien_site_web: Field::String, # TODO: use Field::Url when administrate-v0.12 will be released
|
lien_site_web: Field::String, # TODO: use Field::Url when administrate-v0.12 will be released
|
||||||
organisation: Field::String,
|
organisation: Field::String,
|
||||||
direction: Field::String,
|
direction: Field::String,
|
||||||
|
@ -47,6 +48,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
|
||||||
:id,
|
:id,
|
||||||
:created_at,
|
:created_at,
|
||||||
:libelle,
|
:libelle,
|
||||||
|
:zone,
|
||||||
:service,
|
:service,
|
||||||
:dossiers,
|
:dossiers,
|
||||||
:published_at,
|
:published_at,
|
||||||
|
@ -64,6 +66,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
|
||||||
:lien_site_web,
|
:lien_site_web,
|
||||||
:organisation,
|
:organisation,
|
||||||
:direction,
|
:direction,
|
||||||
|
:zone,
|
||||||
:service,
|
:service,
|
||||||
:created_at,
|
:created_at,
|
||||||
:updated_at,
|
:updated_at,
|
||||||
|
|
Loading…
Reference in a new issue