modernisation code ; simplification affichage

FossilOrigin-Name: e1b162c4d12b471d8f71c44e29fcce22c466ce789434c6780d2439bb14f3b761
This commit is contained in:
engel 2022-04-27 13:49:23 +00:00
parent 3bbe2e4ac9
commit 1888314fa7
5 changed files with 109 additions and 77 deletions

View file

@ -4,11 +4,14 @@
<h2>Versements par personne</h2>
<fieldset class="noprint">
<input type="checkbox" class="check_global" id="check_global"
onclick="cocherDecocherToutesLesPersonnes(check_global)" />
<label for="check_global">Cliquer pour cocher toutes les lignes</label>
<button type="button" data-icon="↑" class="icn-btn" id="close_details_personne" onclick="montrerMasquerDetails(this.id, 'details.personne', 'toutes les personnes')">Replier toutes les personnes</button>
<input type="submit" value="Générer les reçus" form="versements_personnes" onclick="return verifierChoix(this.form)">
<input type="checkbox" class="check_global" id="check_global"
onclick="cocherDecocherToutesLesPersonnes(check_global)" />
<label for="check_global">Cliquer pour cocher toutes les lignes</label>
<button type="button" data-icon="↑" class="icn-btn" id="close_details_personne"
onclick="montrerMasquerDetails(this.id, 'details.personne', 'toutes les personnes')">Replier toutes les
personnes</button>
<input type="submit" value="Générer les reçus" form="versements_personnes"
onclick="return verifierChoix(this.form)">
</fieldset>
<form method="post" id="versements_personnes" action="generer_recus.php?type=personne">
@ -19,7 +22,7 @@
{if $rang == 0}
{* 1ère personne *}
<?php
$personneCourante = $versement->idUser;
$personneCourante = $versement->idUser;
?>
{afficher_debut_personne user=$personneCourante idVersement=$personneCourante}
{afficher_versement versement=$versement idVersement=$personneCourante rang=$rang}
@ -29,7 +32,7 @@
</fieldset>
</details>
<?php
$personneCourante = $versement->idUser;
$personneCourante = $versement->idUser;
?>
{afficher_debut_personne user=$personneCourante idVersement=$personneCourante}
{afficher_versement versement=$versement idVersement=$personneCourante rang=$rang}