X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fpayment%2Fxnet.tpl;h=5926052816e475ecb5a60b740828f77aa8e4815c;hb=09c8f0ce149bf279767fbb6a7089e69df434dcca;hp=599a5517ffecc8d1ca362c067d07824dd04ba85a;hpb=b27ccd85af8db2d996495ba1e8a63b504b2a9b4a;p=platal.git diff --git a/templates/payment/xnet.tpl b/templates/payment/xnet.tpl index 599a551..5926052 100644 --- a/templates/payment/xnet.tpl +++ b/templates/payment/xnet.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,30 +20,45 @@ {* *} {**************************************************************************} -

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

+{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} : +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=$titres item=p} +{foreach from=$titles item=p}
-{icon name=money title="Télépaiement"}{$p.text} +{icon name=money title="Télépaiement"}{$p.text} {if $event[$p.id]} {assign var='ev' value=$event[$p.id]}

- {if $p.url} + {if t($p.url)} Plus d'informations sur ce télépaiement sont disponibles sur cette page.
{/if} - {if $ev.eid} + {if t($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}€ + 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}€). @@ -64,66 +79,67 @@ Voici la liste des paiements en ligne possible pour le groupe {$asso.nom} : {/if} {if $is_admin && $trans[$p.id]} -

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

+

+ 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 $p.nom neq "somme totale"} + {if !t($p.limit)} - + - + - + {elseif $smarty.foreach.people.first} @@ -132,7 +148,7 @@ Voici la liste des paiements en ligne possible pour le groupe {$asso.nom} : {else} - + {/if} {/foreach} @@ -143,7 +159,7 @@ Voici la liste des paiements en ligne possible pour le groupe {$asso.nom} : {foreachelse}

-Pas de télépaiement en cours ... +Pas de télépaiement en cours…

{/foreach}
- {if $order eq 'timestamp'} - + {if $order eq 'timestamp' && $order_id eq $p.id} + {else} - + {/if}Date - {if $order eq 'nom'} - + {if $order eq 'directory_name' && $order_id eq $p.id} + {else} - {/if} + {/if} NOM Prénom - {if $order eq 'promo'} - + {if $order eq 'promo' && $order_id eq $p.id} + {else} - + {/if}Promo - {if $order eq 't.comment'} - + {if $order eq 'comment' && $order_id eq $p.id} + {else} - + {/if}Commentaire - {if $order eq 'montant'} - + {if $order eq 'amount' && $order_id eq $p.id} + {else} - + {/if}Montant
{$p.date|date_format:"%d/%m/%y"}{if $p.date eq 0}-{else}{$p.date|date_format:"%d/%m/%y"}{/if} - - {$p.nom|strtoupper} {$p.prenom} - + {profile user=$p.user promo=false} - {icon name=email title="email"} + {icon name=email title="email"} {$p.promo}{$p.user->promo()} {$p.comment|comment_decode}{$p.montant}{$p.amount|replace:'.':','} €
Total {$p.montant}{$p.amount|replace:'.':','} €