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
class Columns::TitreIdentiteColumn < Column
class Columns::TitreIdentiteColumn < Columns::ChampColumn
private
def typed_value(champ)

View file

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