Compare commits
No commits in common. "d4b07336314e6dfa88e9a0f63ea8d1178cc6eddd" and "57f0d77527204ead53ecd6da3e0b5235eff79fb0" have entirely different histories.
d4b0733631
...
57f0d77527
5 changed files with 11 additions and 7 deletions
|
|
@ -22,6 +22,8 @@ $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 =
|
||||||
|
|
@ -208,9 +210,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,8 +285,10 @@ 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"; }
|
if (sheet.href.includes('print.css')) { sheet.media = "tv"; sheet.remove; }
|
||||||
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.name}
|
{include file="_head.tpl" title="%s"|args:$plugin.label current="plugin_%s"|args:$plugin.id}
|
||||||
|
|
||||||
<!-- 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" data-disable-progress="1">
|
<form method="post" target="_blank" id="versements_activites">
|
||||||
|
|
||||||
{* 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" data-disable-progress="1">
|
<form method="post" target="_dialog" id="versements_personnes">
|
||||||
|
|
||||||
{* 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