Fix : générer tous les PDFs dynamiques (et pas uniquement le premier)
This commit is contained in:
parent
4eede987fa
commit
9797f06364
1 changed files with 13 additions and 13 deletions
|
@ -194,7 +194,6 @@ function inc_envoyer_gamumail($slug, $destinataires, $options = [], $Tid_doc_pie
|
||||||
$nom = array_key_exists('nom', $pdf) ? $pdf['nom'] : $pdf;
|
$nom = array_key_exists('nom', $pdf) ? $pdf['nom'] : $pdf;
|
||||||
}
|
}
|
||||||
else break;
|
else break;
|
||||||
}
|
|
||||||
|
|
||||||
$recup_pdf = charger_fonction('charger_pdf','inc');
|
$recup_pdf = charger_fonction('charger_pdf','inc');
|
||||||
$pdf = $recup_pdf($sq_pdf, $contexte);
|
$pdf = $recup_pdf($sq_pdf, $contexte);
|
||||||
|
@ -210,6 +209,7 @@ function inc_envoyer_gamumail($slug, $destinataires, $options = [], $Tid_doc_pie
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$html_header = '';
|
$html_header = '';
|
||||||
if (find_in_path('gamumail/'.$slug .'_html_header.html')) {
|
if (find_in_path('gamumail/'.$slug .'_html_header.html')) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue