TitreIdentite is a ChampColumn
This commit is contained in:
parent
a4617abb0e
commit
9d6304e7d4
2 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||||
|
|
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue