{**************************************************************************} {* *} {* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************}

{$asso.nom} : Gestion des télépaiements

Voici la liste des paiements en ligne possible pour le groupe {$asso.nom} :

{foreach from=$titres item=p}
{icon name=money title="Télépaiement"}{$p.text} {if $event[$p.id]} {assign var='ev' value=$event[$p.id]}

{if $p.url} Plus d'informations sur ce télépaiement sont disponibles sur cette page.
{/if} {if $ev.eid} Ce paiement est associé à l'événement {$ev.title}.
{if $ev.ins} Tu es inscrit à cet événements. {if $ev.topay > $ev.paid} Tu dois encore payer {math equation="a-b" a=$ev.topay b=$ev.paid}€ {elseif $ev.topay eq $ev.paid} Tu as déjà réglé l'intégralité de ton inscription ({$ev.topay}€). {else} Tu as réglé {$ev.paid}€ alors que tu n'en devais que {$ev.topay}€. {/if} {else} Tu peux t'inscire à cet événement. {/if} {else} {if !$ev.paid} Tu n'as actuellement rien payé sur ce télépaiement. {else} Tu as déjà payé {$ev.paid}€. {/if} {/if}

{/if} {if $is_admin && $trans[$p.id]}

Liste des personnes ayant payé (pour les administrateurs uniquement) :

{assign var="somme" value=0} {foreach from=$trans[$p.id] item=p name=people} {if $p.nom neq "somme totale"} {elseif $smarty.foreach.people.first} {else} {/if} {/foreach}
{if $order eq 'timestamp'} {else} {/if}Date {if $order eq 'nom'} {else} {/if} NOM Prénom {if $order eq 'promo'} {else} {/if}Promo {if $order eq 't.comment'} {else} {/if}Commentaire {if $order eq 'montant'} {else} {/if}Montant
{$p.date|date_format:"%d/%m/%y"} {$p.nom|strtoupper} {$p.prenom} {icon name=email title="mail"} {$p.promo} {$p.comment|comment_decode} {$p.montant}
Personne n'a encore payé pour ce télépaiement.
Total {$p.montant}
{/if}
{foreachelse}

Pas de télépaiement en cours ...

{/foreach} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}