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