Compare commits
3 commits
57f0d77527
...
d4b0733631
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4b0733631 | ||
|
|
0834ff7ba3 | ||
|
|
109b280b90 |
5 changed files with 7 additions and 11 deletions
|
|
@ -22,8 +22,6 @@ $signature =
|
||||||
\KD2\HTTP::getScheme() . '://' . \KD2\HTTP::getHost() . WWW_URI . $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
|
// logo
|
||||||
$config = Config::getInstance();
|
$config = Config::getInstance();
|
||||||
$logo_asso =
|
$logo_asso =
|
||||||
|
|
@ -210,9 +208,9 @@ function genererRecusPDF($totalPersonnes,
|
||||||
);
|
);
|
||||||
|
|
||||||
//supprimer les fichiers pdf
|
//supprimer les fichiers pdf
|
||||||
// foreach ($listeFichiersPDF as $f) {
|
foreach ($listeFichiersPDF as $f) {
|
||||||
// \Paheko\Utils::safe_unlink($f);
|
\Paheko\Utils::safe_unlink($f);
|
||||||
// }
|
}
|
||||||
} // genererRecusPDF
|
} // genererRecusPDF
|
||||||
|
|
||||||
function generererRecusHTML($tpl,
|
function generererRecusHTML($tpl,
|
||||||
|
|
|
||||||
|
|
@ -285,10 +285,8 @@ function verifierCases(conteneur, type, message) {
|
||||||
*/
|
*/
|
||||||
function changerStyle(document) {
|
function changerStyle(document) {
|
||||||
let styles = document.querySelectorAll('link[rel="stylesheet"]');
|
let styles = document.querySelectorAll('link[rel="stylesheet"]');
|
||||||
// console.log(styles);
|
|
||||||
for (let sheet of styles) {
|
for (let sheet of styles) {
|
||||||
if (sheet.href.includes('print.css')) { sheet.media = "tv"; sheet.remove; }
|
if (sheet.href.includes('print.css')) { sheet.media = "tv"; }
|
||||||
if (sheet.href.includes('imprimer_recu.css')) { sheet.media = 'print'; }
|
if (sheet.href.includes('imprimer_recu.css')) { sheet.media = 'print'; }
|
||||||
}
|
}
|
||||||
// console.log(styles);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!-- title -->
|
<!-- title -->
|
||||||
{include file="_head.tpl" title="%s"|args:$plugin.label current="plugin_%s"|args:$plugin.id}
|
{include file="_head.tpl" title="%s"|args:$plugin.label current="plugin_%s"|args:$plugin.name}
|
||||||
|
|
||||||
<!-- nav bar -->
|
<!-- nav bar -->
|
||||||
<nav class="tabs">
|
<nav class="tabs">
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<form method="post" target="_blank" id="versements_activites">
|
<form method="post" target="_blank" id="versements_activites" data-disable-progress="1">
|
||||||
|
|
||||||
{* Itération sur les versements *}
|
{* Itération sur les versements *}
|
||||||
{foreach from=$lesVersements key="rang" item="versement"}
|
{foreach from=$lesVersements key="rang" item="versement"}
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<form method="post" target="_dialog" id="versements_personnes">
|
<form method="post" target="_dialog" id="versements_personnes" data-disable-progress="1">
|
||||||
|
|
||||||
{* Itération sur les personnes *}
|
{* Itération sur les personnes *}
|
||||||
{foreach from=$lesVersements key="rang" item="versement"}
|
{foreach from=$lesVersements key="rang" item="versement"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue