add a label for api and export for sensitive data as titre_identite_champ
This commit is contained in:
parent
c200e03771
commit
f34c890278
2 changed files with 29 additions and 2 deletions
|
@ -37,10 +37,10 @@ class Champs::TitreIdentiteChamp < Champ
|
|||
end
|
||||
|
||||
def for_export
|
||||
nil
|
||||
piece_justificative_file.attached? ? "présent" : "absent"
|
||||
end
|
||||
|
||||
def for_api
|
||||
nil
|
||||
piece_justificative_file.attached? ? "présent" : "absent"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue