diff --git a/lib/RecusHTML.php b/lib/RecusHTML.php index c2c722f..82c36cb 100644 --- a/lib/RecusHTML.php +++ b/lib/RecusHTML.php @@ -23,6 +23,7 @@ class RecusHTML $objetAsso, $nomResponsable, $fonctionResponsable, + $villeAsso, $articlesCGI, $signature) { @@ -31,6 +32,7 @@ class RecusHTML $this->objetAsso = $objetAsso; $this->nomResponsable = $nomResponsable; $this->fonctionResponsable = $fonctionResponsable; + $this->villeAsso = $villeAsso; $this->signature = $signature; $this->articlesCGI = $articlesCGI; $this->html = $this->entete(); @@ -116,7 +118,7 @@ FDD; $date = date("j/m/Y"); echo << -

{this->villeAsso} le {$date}

+

{$this->villeAsso} le {$date}

$this->nomResponsable

$this->fonctionResponsable

diff --git a/www/admin/config.php b/www/admin/config.php index 58c8b0b..ea4b386 100644 --- a/www/admin/config.php +++ b/www/admin/config.php @@ -61,7 +61,7 @@ if (f('save') && $form->check('recusfiscaux_config')) // autres informations // ville - $plugin->setConfig('ville_asso', trim(f('ville_asso')); + $plugin->setConfig('ville_asso', trim(f('ville_asso'))); \Garradin\Utils::redirect(PLUGIN_URL . 'config.php?ok'); } diff --git a/www/admin/generer_personnes.php b/www/admin/generer_personnes.php index 1b57127..763cd60 100644 --- a/www/admin/generer_personnes.php +++ b/www/admin/generer_personnes.php @@ -41,7 +41,7 @@ foreach ($versementsSelectionnes as $ligne) $plugin->getConfig('objet_asso'), $plugin->getConfig('nom_responsable'), $plugin->getConfig('fonction_responsable'), - $plugin->getConfig('ville_asso'); + $plugin->getConfig('ville_asso'), $articlesCGI, $signature );