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,
|
||||
$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 <<<FDD
|
||||
<div class="cartouche" id="final">
|
||||
<p>{this->villeAsso} le {$date}</p>
|
||||
<p>{$this->villeAsso} le {$date}</p>
|
||||
<img id="signature" src="$this->signature" />
|
||||
<p id="nom">$this->nomResponsable</p>
|
||||
<p id="fonction">$this->fonctionResponsable</p>
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue