paramètrage ville avant date sur formulaire
FossilOrigin-Name: 23ef0327f14e2bd7aff68dad738edcd2437bb31445b972c77131104fb891455b
This commit is contained in:
parent
ca09c2cf9d
commit
fad8553345
@ -23,6 +23,7 @@ class RecusHTML
|
|||||||
$objetAsso,
|
$objetAsso,
|
||||||
$nomResponsable,
|
$nomResponsable,
|
||||||
$fonctionResponsable,
|
$fonctionResponsable,
|
||||||
|
$villeAsso,
|
||||||
$articlesCGI,
|
$articlesCGI,
|
||||||
$signature)
|
$signature)
|
||||||
{
|
{
|
||||||
@ -31,6 +32,7 @@ class RecusHTML
|
|||||||
$this->objetAsso = $objetAsso;
|
$this->objetAsso = $objetAsso;
|
||||||
$this->nomResponsable = $nomResponsable;
|
$this->nomResponsable = $nomResponsable;
|
||||||
$this->fonctionResponsable = $fonctionResponsable;
|
$this->fonctionResponsable = $fonctionResponsable;
|
||||||
|
$this->villeAsso = $villeAsso;
|
||||||
$this->signature = $signature;
|
$this->signature = $signature;
|
||||||
$this->articlesCGI = $articlesCGI;
|
$this->articlesCGI = $articlesCGI;
|
||||||
$this->html = $this->entete();
|
$this->html = $this->entete();
|
||||||
@ -116,7 +118,7 @@ FDD;
|
|||||||
$date = date("j/m/Y");
|
$date = date("j/m/Y");
|
||||||
echo <<<FDD
|
echo <<<FDD
|
||||||
<div class="cartouche" id="final">
|
<div class="cartouche" id="final">
|
||||||
<p>{this->villeAsso} le {$date}</p>
|
<p>{$this->villeAsso} le {$date}</p>
|
||||||
<img id="signature" src="$this->signature" />
|
<img id="signature" src="$this->signature" />
|
||||||
<p id="nom">$this->nomResponsable</p>
|
<p id="nom">$this->nomResponsable</p>
|
||||||
<p id="fonction">$this->fonctionResponsable</p>
|
<p id="fonction">$this->fonctionResponsable</p>
|
||||||
|
@ -61,7 +61,7 @@ if (f('save') && $form->check('recusfiscaux_config'))
|
|||||||
|
|
||||||
// autres informations
|
// autres informations
|
||||||
// ville
|
// 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');
|
\Garradin\Utils::redirect(PLUGIN_URL . 'config.php?ok');
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ foreach ($versementsSelectionnes as $ligne)
|
|||||||
$plugin->getConfig('objet_asso'),
|
$plugin->getConfig('objet_asso'),
|
||||||
$plugin->getConfig('nom_responsable'),
|
$plugin->getConfig('nom_responsable'),
|
||||||
$plugin->getConfig('fonction_responsable'),
|
$plugin->getConfig('fonction_responsable'),
|
||||||
$plugin->getConfig('ville_asso');
|
$plugin->getConfig('ville_asso'),
|
||||||
$articlesCGI,
|
$articlesCGI,
|
||||||
$signature
|
$signature
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user