simplification présentation
FossilOrigin-Name: 7a7f325fb3557295b7c06f70c4e493155a76e7021000f49c2416470ac46312b6
This commit is contained in:
parent
6533f9d1b4
commit
4b4cd91110
3 changed files with 31 additions and 28 deletions
|
|
@ -71,25 +71,26 @@ $tpl->register_function('afficher_debut_personne', function ($params)
|
|||
|
||||
$personne = $_SESSION['membresDonateurs'][$idUser];
|
||||
$out = '<details class="personne" open="open">
|
||||
<summary class="personne">';
|
||||
$out .= sprintf('<h4 class="personne">Versements de %s : <span class="total" id="total_%s">0,00 €</span></h4>',
|
||||
$personne->nomPrenom,
|
||||
$idVersement);
|
||||
$out .= '</summary>';
|
||||
<summary class="personne">
|
||||
<h4 class="personne">';
|
||||
$out .= sprintf('
|
||||
<fieldset class="versements" id="versements_%s">',
|
||||
$idVersement);
|
||||
$out .= sprintf('
|
||||
<input type="checkbox" id="check_%s"',
|
||||
<input type="checkbox" id="check_%s"',
|
||||
$idVersement);
|
||||
$out .= sprintf(' onclick="cocherDecocherPersonne(check_%s, total_%s)" />',
|
||||
$idVersement,
|
||||
$idVersement);
|
||||
$out .= sprintf('
|
||||
<label for="check_%s">Cliquer pour cocher toutes les lignes</label>',
|
||||
<label for="check_%s"></label>',
|
||||
$idVersement);
|
||||
$out .= '<br />
|
||||
<hr>';
|
||||
$out .= sprintf('%s : <span class="total" id="total_%s">0,00 €</span>',
|
||||
$personne->nomPrenom,
|
||||
$idVersement);
|
||||
$out .= '</h4></summary>';
|
||||
$out .= sprintf('
|
||||
<fieldset class="versements" id="versements_%s">',
|
||||
$idVersement);
|
||||
// $out .= '<br />
|
||||
// <hr>';
|
||||
return $out;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue