feat: ajout pipeline pour filtrer le tableau de pdf
This commit is contained in:
parent
999663fa9f
commit
64bfe8bc78
3 changed files with 10 additions and 1 deletions
|
@ -133,7 +133,7 @@
|
|||
<BOUCLE_options(DATA){source tableau, #VALEUR|table_valeur{contexte}}>
|
||||
[(#SET{url_pdf,[(#GET{url_pdf}|parametre_url{#CLE,#VALEUR})]})]
|
||||
</BOUCLE_options>
|
||||
<label for="#GET{name}_#COMPTEUR_BOUCLE">[(#VALEUR|table_valeur{nom})] : <a href="#GET{url_pdf}">voir le PDF</a></label>
|
||||
<label for="#GET{name}_#COMPTEUR_BOUCLE">[(#VALEUR|table_valeur{nom}|html_entity_decode)] : <a href="#GET{url_pdf}">voir le PDF</a></label>
|
||||
</div>
|
||||
</BOUCLE_pdf>
|
||||
</div>
|
||||
|
|
|
@ -75,6 +75,13 @@ function formulaires_gamumail_charger_dist($slug, $destinataires = 0, $Tclient =
|
|||
}
|
||||
}
|
||||
|
||||
$TFichierPdf = pipeline('gamumail_filtrer_tPDF', [
|
||||
'args' => [
|
||||
'TFichierPdf' => $TFichierPdf
|
||||
],
|
||||
'data' => $TFichierPdf
|
||||
]
|
||||
);
|
||||
|
||||
$gamuMail = [];
|
||||
if (!empty($slug)) {
|
||||
|
@ -88,6 +95,7 @@ function formulaires_gamumail_charger_dist($slug, $destinataires = 0, $Tclient =
|
|||
$texte = extraire_multi($texte, $options['lang']);
|
||||
$sujet = extraire_multi($sujet, $options['lang']);
|
||||
}
|
||||
|
||||
$valeurs = array(
|
||||
"slug" => $slug,
|
||||
'sujet' => $sujet,
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
<pipeline nom="remplacements_slug" action='' />
|
||||
<pipeline nom="post_gamumail_ok" action='' />
|
||||
<pipeline nom="tpdf_charger_contexte" action='' />
|
||||
<pipeline nom="gamumail_filtrer_tPDF" action='' />
|
||||
|
||||
<pipeline nom="autoriser" inclure="gamumail_autorisations.php" />
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue