demarches-normaliennes/app/dashboards/outdated_procedure_dashboard.rb
2022-08-24 13:10:48 +02:00

13 lines
425 B
Ruby

require "administrate/base_dashboard"
class OutdatedProcedureDashboard < Administrate::BaseDashboard
ATTRIBUTE_TYPES = {
id: Field::Number,
libelle: Field::String,
created_at: Field::DateTime,
dossiers_close_to_expiration: Field::Number
}.freeze
COLLECTION_ATTRIBUTES = [:id, :libelle, :created_at, :dossiers_close_to_expiration].freeze
COLLECTION_FILTERS = {}.freeze
SHOW_PAGE_ATTRIBUTES = {}
end