TitreIdentite is a ChampColumn

This commit is contained in:
simon lehericey 2024-11-04 16:13:55 +01:00
parent a4617abb0e
commit 9d6304e7d4
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true # frozen_string_literal: true
class Columns::TitreIdentiteColumn < Column class Columns::TitreIdentiteColumn < Columns::ChampColumn
private private
def typed_value(champ) def typed_value(champ)

View file

@ -28,8 +28,7 @@ class TypesDeChamp::TitreIdentiteTypeDeChamp < TypesDeChamp::TypeDeChampBase
[ [
Columns::TitreIdentiteColumn.new( Columns::TitreIdentiteColumn.new(
procedure_id:, procedure_id:,
table: Column::TYPE_DE_CHAMP_TABLE, stable_id:,
column: stable_id.to_s,
label: libelle_with_prefix(prefix), label: libelle_with_prefix(prefix),
type: TypeDeChamp.column_type(type_champ), type: TypeDeChamp.column_type(type_champ),
value_column: TypeDeChamp.value_column(type_champ), value_column: TypeDeChamp.value_column(type_champ),