Compare commits
11 Commits
Author | SHA1 | Date |
---|---|---|
engel | 4fd56bf12d | |
engel | e097e0c836 | |
engel | a5ba3c52ba | |
engel | 83020af56e | |
engel | a132bec27d | |
engel | 977046b657 | |
engel | 1df94237e6 | |
engel | 674157c925 | |
engel | 2b2c2ebcc9 | |
engel | f524ebdc0f | |
engel | e6470bd2e9 |
|
@ -16,10 +16,14 @@ $_GET['_dialog'] = true;
|
|||
|
||||
// signature
|
||||
$signature =
|
||||
(null !== $plugin->getConfig('signature')) ?
|
||||
\KD2\HTTP::getScheme() . '://' . \KD2\HTTP::getHost() . WWW_URI . "/" . $plugin->getConfig('signature') :
|
||||
"";
|
||||
(null !== $config->fileURL('signature')) ?
|
||||
$config->fileURL('signature') :
|
||||
((null !== $plugin->getConfig('signature')) ?
|
||||
\KD2\HTTP::getScheme() . '://' . \KD2\HTTP::getHost() . WWW_URI . $plugin->getConfig('signature') :
|
||||
"");
|
||||
|
||||
// http://test.paheko.bzh/config/cavalier.png
|
||||
error_log('signature = ' . $signature);
|
||||
// logo
|
||||
$config = Config::getInstance();
|
||||
$logo_asso =
|
||||
|
@ -111,7 +115,8 @@ function genererRecusPDF($totalPersonnes,
|
|||
$numero_sequentiel = getNumSequentiel($configNum);
|
||||
foreach ($totalPersonnes as $idPersonne => $personne) {
|
||||
$tpl = new UserTemplate(null);
|
||||
$tpl->setSource(PLUGIN_ROOT . '/templates/recu.skel');
|
||||
/* $tpl->setSource(PLUGIN_ROOT . '/templates/recu.skel'); */
|
||||
$tpl->setSourcePath(PLUGIN_ROOT . '/templates/recu.skel');
|
||||
|
||||
$tpl->assignArray(compact('signature', 'logo_asso', 'texteArticles'));
|
||||
$tpl->assign('objet_asso', $plugin->getConfig('objet_asso'));
|
||||
|
@ -125,7 +130,7 @@ function genererRecusPDF($totalPersonnes,
|
|||
$tpl->assign('date', date("j/m/Y"));
|
||||
|
||||
// numéro de reçu
|
||||
$tpl->assign('numero',
|
||||
$tpl->assign('numero',
|
||||
faireNumeroRecu($prefixeNum,
|
||||
$configNum->membre,
|
||||
$personne->numero,
|
||||
|
|
|
@ -95,3 +95,9 @@ span.titre, span.libelle
|
|||
{
|
||||
display : inline;
|
||||
}
|
||||
|
||||
/* Ne pas imprimer le bandeau des boutons du profiler */
|
||||
#__profiler
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue