{include file="%s/templates/_nav.tpl"|args:$plugin_root current_nav="personne"}

Versements par personne

{* Itération sur les personnes *} {foreach from=$lesVersements key="rang" item="versement"} {if $rang == 0} {* 1ère personne *} idUser; $compteCourant = $versement->compte; ?> {afficher_debut_personne user=$personneCourante idVersement=$personneCourante} {elseif $versement.idUser != $personneCourante} {* changement de personne *} {fin_personne} idUser; $compteCourant = $versement->compte; ?> {afficher_debut_personne user=$personneCourante idVersement=$personneCourante} {elseif $versement.compte != $compteCourant} {* même personne mais changement de compte *} compte; ?>
{else} {* même personne, même compte *} {/if} {afficher_versement versement=$versement idVersement=$personneCourante rang=$rang pair=$pair} {/foreach} {* Itération sur les personnes *} {fin_personne}
{* scripts divers *} {include file="admin/_foot.tpl"}