add two more fields for procedure description what et and for_who
This commit is contained in:
parent
174b0edaa1
commit
4a51a9a351
12 changed files with 104 additions and 78 deletions
|
@ -92,10 +92,12 @@ module Users
|
|||
def identite
|
||||
@dossier = dossier
|
||||
@user = current_user
|
||||
@hide_description = true
|
||||
end
|
||||
|
||||
def update_identite
|
||||
@dossier = dossier
|
||||
@hide_description = true
|
||||
|
||||
if @dossier.individual.update(individual_params)
|
||||
@dossier.update!(autorisation_donnees: true, identity_updated_at: Time.zone.now)
|
||||
|
@ -110,10 +112,12 @@ module Users
|
|||
|
||||
def siret
|
||||
@dossier = dossier
|
||||
@hide_description = true
|
||||
end
|
||||
|
||||
def update_siret
|
||||
@dossier = dossier
|
||||
@hide_description = true
|
||||
|
||||
# We use the user as the holder model object for the siret value
|
||||
# (so that we can restore it on the form in case of error).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue