{**************************************************************************} {* *} {* Copyright (C) 2003-2011 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 *} {* *} {**************************************************************************} {if t($anchor)} {literal} {/literal} {/if}

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

Voici la liste des paiements en ligne possible pour le groupe {$asso->nom}. Pour afficher les camarades dans un certain ordre, il suffit de cliquer sur le titre de la colonne concernée.

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

{if t($p.url)} Plus d'informations sur ce télépaiement sont disponibles sur cette page.
{/if} {if t($ev.eid)} Ce paiement est associé à l'événement {$ev.title}.
{if $ev.ins} Tu es inscrit à cet événement. {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) :
{include file="include/csv.tpl" url="`$platal->ns`payment/csv/`$p.id`.csv"}

{assign var="somme" value=0} {foreach from=$trans[$p.id] item=p name=people} {if !t($p.limit)} {elseif $smarty.foreach.people.first} {else} {/if} {/foreach}
{if $order eq 'timestamp' && $order_id eq $p.id} {else} {/if}Date {if $order eq 'directory_name' && $order_id eq $p.id} {else} {/if} NOM Prénom {if $order eq 'promo' && $order_id eq $p.id} {else} {/if}Promo {if $order eq 'comment' && $order_id eq $p.id} {else} {/if}Commentaire {if $order eq 'amount' && $order_id eq $p.id} {else} {/if}Montant
{if $p.date eq 0}-{else}{$p.date|date_format:"%d/%m/%y"}{/if} {profile user=$p.user promo=false} {icon name=email title="email"} {$p.user->promo()} {$p.comment|comment_decode} {$p.amount|replace:'.':','} €
Personne n'a encore payé pour ce télépaiement.
Total {$p.amount|replace:'.':','} €
{/if}
{foreachelse}

Pas de télépaiement en cours…

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