{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->idCompte; ?> {afficher_debut_personne user=$personneCourante idVersement=$personneCourante} {afficher_debut_compte idCompte=$compteCourant} {elseif $versement.idUser != $personneCourante} {* changement de personne *} {fin_compte} {fin_personne} idUser; $compteCourant = $versement->idCompte; ?> {afficher_debut_personne user=$personneCourante idVersement=$personneCourante} {afficher_debut_compte idCompte=$compteCourant} {elseif $versement.idCompte != $compteCourant} {fin_compte} {* changement de compte *} idCompte; ?> {afficher_debut_compte idCompte=$compteCourant} {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_compte} {fin_personne}
{* scripts divers *} {include file="admin/_foot.tpl"}