Compare commits

...

3 commits

Author SHA1 Message Date
Jean-Christophe Engel
d4b0733631 Ajout attribut data-disable-progress aux formulaires de versements 2026-01-07 10:22:24 +01:00
Jean-Christophe Engel
0834ff7ba3 Suppression code inutile 2026-01-05 15:19:17 +01:00
Jean-Christophe Engel
109b280b90 Modifications pour compatibilité menu princpal 2026-01-05 15:16:46 +01:00
5 changed files with 7 additions and 11 deletions

View file

@ -22,8 +22,6 @@ $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 =
@ -210,9 +208,9 @@ function genererRecusPDF($totalPersonnes,
);
//supprimer les fichiers pdf
// foreach ($listeFichiersPDF as $f) {
// \Paheko\Utils::safe_unlink($f);
// }
foreach ($listeFichiersPDF as $f) {
\Paheko\Utils::safe_unlink($f);
}
} // genererRecusPDF
function generererRecusHTML($tpl,

View file

@ -285,10 +285,8 @@ function verifierCases(conteneur, type, message) {
*/
function changerStyle(document) {
let styles = document.querySelectorAll('link[rel="stylesheet"]');
// console.log(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'; }
}
// console.log(styles);
}

View file

@ -1,5 +1,5 @@
<!-- 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 class="tabs">

View file

@ -34,7 +34,7 @@
</dl>
</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 *}
{foreach from=$lesVersements key="rang" item="versement"}

View file

@ -33,7 +33,7 @@
</dl>
</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 *}
{foreach from=$lesVersements key="rang" item="versement"}