encore une amélioration cosmétique :)

FossilOrigin-Name: dce70845784819f3a6e2f7610285cf5e4f7771f60a8e3dd2cce68b0b332cdcaa
This commit is contained in:
engel 2022-04-28 08:18:16 +00:00
parent 55d2ce0cbb
commit 0023c2722f

View File

@ -80,12 +80,12 @@ $tpl->register_function('afficher_debut_personne', function ($params)
$idVersement,
$idVersement);
$out .= sprintf('
<label for="check_%s"></label>',
<label for="check_%s">',
$idVersement);
$out .= sprintf('%s : <span class="total" id="total_%s">0,00 €</span>',
$personne->nomPrenom,
$idVersement);
$out .= '</h4></summary>';
$out .= '</label></h4></summary>';
$out .= sprintf('
<fieldset class="versements" id="versements_%s">',
$idVersement);
@ -114,17 +114,18 @@ $tpl->register_function('afficher_versement', function ($params)
$idVersement, $rang, $idVersement
);
$out .= sprintf('
<label for="check_%s_%s"></label>',
$idVersement, $rang
);
$out .= sprintf('
<span class="montant">%.2f</span>',
<label for="check_%s_%s"><span class="montant">%.2f</span>',
$idVersement,
$rang,
$versement->versement/100
);
$out .= sprintf('
<span>%s</span>
</div>',
<span>%s</span>',
date_format(date_create($versement->date),"d/m/Y"));
$out .= sprintf('
</label>
</div>'
);
return $out;
});