rename ref_demarche into demarche_id
fix association between formulaire and type_piece_jointe fix association between formulaire and evenement_vie
This commit is contained in:
parent
c78a4f655b
commit
107b11d510
12 changed files with 85 additions and 40 deletions
|
@ -73,6 +73,6 @@ class DescriptionController < ApplicationController
|
|||
|
||||
def get_liste_piece_jointe
|
||||
@formulaire = @dossier.formulaire
|
||||
TypePieceJointe.where ("\"CERFA\" = '#{@formulaire.ref_demarche}'")
|
||||
TypePieceJointe.where ("\"CERFA\" = '#{@formulaire.demarche_id}'")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue