fin gestion signature
FossilOrigin-Name: f835cb26e8e66bb7b9fbcb365a652cb67ca2757328b5fca8677b2c31f75aa6af
This commit is contained in:
parent
f9f59d7454
commit
b819562bc6
7 changed files with 32 additions and 41 deletions
|
|
@ -4,8 +4,6 @@ namespace Garradin;
|
|||
use Garradin\Files\Files;
|
||||
use Garradin\Entities\Files\File;
|
||||
|
||||
error_log("WWW_URL = " . WWW_URL);
|
||||
|
||||
$session->requireAccess($session::SECTION_CONFIG, $session::ACCESS_ADMIN);
|
||||
$art_sel=f('articlesCGI') ? : [];
|
||||
|
||||
|
|
@ -46,7 +44,7 @@ if (f('save') && $form->check('recusfiscaux_config'))
|
|||
|
||||
$tpl->assign('ok', qg('ok') !== null);
|
||||
$tpl->assign('path', $path);
|
||||
$tpl->assign('default_signature', \Garradin\WWW_URL . "plugin/recusFiscaux/default_signature.png");
|
||||
$tpl->assign('plugin_config', $plugin->getConfig());
|
||||
$tpl->assign('plugin_css', ['style.css']);
|
||||
|
||||
$tpl->display(PLUGIN_ROOT . '/templates/config.tpl');
|
||||
|
|
|
|||
|
|
@ -21,8 +21,12 @@ $totalPersonnes = cumulerVersements($versementsSelectionnes);
|
|||
$nomAsso = Utils::getNomAsso();
|
||||
$adresseAsso = Utils::getAdresseAsso();
|
||||
|
||||
$signature = PLUGIN_ROOT . "/data/default_signature.png";
|
||||
$listeFichiers = [];
|
||||
$signature =
|
||||
(null !== $plugin->getConfig('signature')) ?
|
||||
\Garradin\Files\Files::get($plugin->getConfig('signature'))->fullpath() :
|
||||
\Garradin\WWW_URL . "plugin/recusFiscaux/default_signature.png";
|
||||
|
||||
$listeFichiers = []; // fichiers pdf générés
|
||||
|
||||
foreach ($totalPersonnes as $idPersonne => $personne)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,11 +21,10 @@ $adresseAsso = Utils::getAdresseAsso();
|
|||
|
||||
$signature =
|
||||
(null !== $plugin->getConfig('signature')) ?
|
||||
WWW_URL . $plugin->getConfig('signature') :
|
||||
PLUGIN_ROOT . "/data/default_signature.png";
|
||||
error_log("GP : signature = " . $signature);
|
||||
\Garradin\Files\Files::get($plugin->getConfig('signature'))->fullpath() :
|
||||
\Garradin\WWW_URL . "plugin/recusFiscaux/default_signature.png";
|
||||
|
||||
$listeFichiers = [];
|
||||
$listeFichiers = []; // fichiers pdf générés
|
||||
|
||||
foreach ($versementsSelectionnes as $ligne)
|
||||
{
|
||||
|
|
@ -66,4 +65,3 @@ $fichierZip = Utils::makeArchive(
|
|||
$_SESSION['annee_recu'],
|
||||
PLUGIN_ROOT . "/zip"
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -30,3 +30,7 @@ h3.personne {
|
|||
input[type="text"] {
|
||||
width: 50em;
|
||||
}
|
||||
#signature
|
||||
{
|
||||
width:300px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue