paramétrage articles CGI, nom et fonction responsable
FossilOrigin-Name: be718016fdbe18eb51c7245ea996fffc6a1cce1ce4eb694a38042acd8356f782
This commit is contained in:
parent
b819562bc6
commit
c6515e18e4
9 changed files with 102 additions and 41 deletions
|
|
@ -24,8 +24,15 @@ $signature =
|
|||
\Garradin\Files\Files::get($plugin->getConfig('signature'))->fullpath() :
|
||||
\Garradin\WWW_URL . "plugin/recusFiscaux/default_signature.png";
|
||||
|
||||
$listeFichiers = []; // fichiers pdf générés
|
||||
|
||||
// articles du CGI
|
||||
$articlesCGI = array();
|
||||
foreach ($plugin->getConfig('articlesCGI') as $article)
|
||||
{
|
||||
if ($article->valeur == 1) {
|
||||
$articlesCGI[] = $article->titre;
|
||||
}
|
||||
}
|
||||
$listeFichiers = array(); // fichiers pdf générés
|
||||
foreach ($versementsSelectionnes as $ligne)
|
||||
{
|
||||
// générer un fichier par reçu
|
||||
|
|
@ -33,6 +40,9 @@ foreach ($versementsSelectionnes as $ligne)
|
|||
$nomAsso,
|
||||
$adresseAsso,
|
||||
$plugin->getConfig('objet_asso'),
|
||||
$plugin->getConfig('nom_responsable'),
|
||||
$plugin->getConfig('fonction_responsable'),
|
||||
$articlesCGI,
|
||||
$signature
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue