Merge pull request #8937 from mfo/fix-procedure-pdf-without-repetitions
ETQ administrateur, je m'attends a ce qu'au moins 3 répétition soient présentes dans le formulaire au format PDF
This commit is contained in:
commit
8f6681d2a3
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ def add_champs(pdf, champs)
|
||||||
champs.each do |champ|
|
champs.each do |champ|
|
||||||
if champ.type == 'Champs::RepetitionChamp'
|
if champ.type == 'Champs::RepetitionChamp'
|
||||||
add_libelle(pdf, champ)
|
add_libelle(pdf, champ)
|
||||||
|
3.times { champ.add_row(champ.type_de_champ.revision) }
|
||||||
3.times do
|
3.times do
|
||||||
champ.rows.each do |row|
|
champ.rows.each do |row|
|
||||||
row.each do |inner_champ|
|
row.each do |inner_champ|
|
||||||
|
|
Loading…
Add table
Reference in a new issue