{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2009 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
-<h1>{$asso.nom} : Gestion des télépaiements </h1>
+<h1>{$asso->nom} : Gestion des télépaiements </h1>
<p class="descr">
-Voici la liste des paiements en ligne possible pour le groupe {$asso.nom} :
+Voici la liste des paiements en ligne possible pour le groupe {$asso->nom} :
</p>
{foreach from=$titres item=p}
Tu es inscrit à cet événements.
{if $ev.topay > $ev.paid}
<a href="{$platal->ns}payment/{$p.id}?montant={math equation="a-b" a=$ev.topay b=$ev.paid}">
- Tu dois encore payer {math equation="a-b" a=$ev.topay b=$ev.paid}€
+ Tu dois encore payer {math equation="a-b" a=$ev.topay b=$ev.paid}€.
</a>
{elseif $ev.topay eq $ev.paid}
Tu as déjà réglé l'intégralité de ton inscription ({$ev.topay}€).
{/if}Commentaire</a>
</th>
<th>
- {if $order eq 'montant'}
+ {if $order eq 'amount'}
<a href='{$platal->ns}payment?order={$order}&order_inv={$order_inv}'>
<img src="{$platal->baseurl}images/{if $order_inv}dn{else}up{/if}.png" alt="" title="Tri {if !$order_inv}dé{/if}croissant" />
{else}
<tr>
<td class="center">{$p.date|date_format:"%d/%m/%y"}</td>
<td>
- <a href="https://www.polytechnique.org/profile/{$p.alias}" class="popup2">
- {$p.nom|strtoupper} {$p.prenom}
- </a>
+ {profile user=$p.user promo=false}
</td>
<td>
- <a href="mailto:{$p.alias}@{#globals.mail.domain#}">{icon name=email title="email"}</a>
+ <a href="mailto:{$p.user->bestEmail()}">{icon name=email title="email"}</a>
</td>
- <td class="center">{$p.promo}</td>
+ <td class="center">{$p.user->promo()}</td>
<td>{$p.comment|comment_decode}</td>
- <td class="right">{$p.montant}</td>
+ <td class="right">{$p.amount}</td>
</tr>
{elseif $smarty.foreach.people.first}
<tr>
{else}
<tr class="pair">
<td class="right" colspan="5"><strong>Total </strong></td>
- <th class="right">{$p.montant}</th>
+ <th class="right">{$p.amount}</th>
</tr>
{/if}
{/foreach}
{foreachelse}
<p class="descr">
-<em>Pas de télépaiement en cours ...</em>
+<em>Pas de télépaiement en cours…</em>
</p>
{/foreach}