Skip to content

Commit

Permalink
Familiares en formulario persona. Closes #598
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Jan 23, 2024
1 parent c200712 commit 602f9c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/sivel2_gen/concerns/controllers/personas_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ def atributos_show
end

def atributos_form
atributos_form_msip - [:caso_ids]
a = atributos_form_msip - [:caso_ids]
if a.index(:familiares)
a[a.index(:familiares)] = :persona_trelacion1
end
return a
end

def remplazar_antes_destruir_p
Expand Down

0 comments on commit 602f9c3

Please sign in to comment.