1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
23 <h1>{$asso.nom} : Gestion des télépaiements </h1>
26 Voici la liste des paiements en ligne possible pour le groupe {$asso.nom}
29 {foreach from=$titres item=p}
33 <a href="https://www.polytechnique.org/payment/{$p.id}">{$p.text}</a>
37 <table cellpadding="0" cellspacing="0" class='bicol'>
39 <th colspan="4">{$p.text} : détails pour les administrateurs</th>
42 <td class="center">[{if $order eq 'timestamp'}<strong><a href='?order={$order}&order_inv={$order_inv}'>{else}<a href='?order=timestamp'>{/if}Date</a>{if $order eq 'timestamp'}</strong>{/if}]</td>
43 <td class="center">[{if $order eq 'nom'}<strong><a href='?order={$order}&order_inv={$order_inv}'>{else}<a href='?order=nom'>{/if}Prénom NOM</a>{if $order eq 'nom'}</strong>{/if}]</td>
44 <td class="center">[{if $order eq 'promo'}<strong><a href='?order={$order}&order_inv={$order_inv}'>{else}<a href='?order=promo'>{/if}Promo</a>{if $order eq 'promo'}</strong>{/if}]</td>
45 <td class="center">[{if $order eq 'montant'}<strong><a href='?order={$order}&order_inv={$order_inv}'>{else}<a href='?order=montant'>{/if}Montant</a>{if $order eq 'montant'}</strong>{/if}]</td>
47 {assign var="somme" value=0}
48 {foreach from=$trans[$p.id] item=p}
50 {if $p.nom neq "somme totale"}
51 <td class="center">{$p.date|date_format:"%d/%m/%y"}</td>
54 <a href="https://www.polytechnique.org/fiche.php?user={$p.alias}"><img alt="[fiche]" title="Voir sa fiche" src="{rel}/images/loupe.gif"/></a>
55 <a href="mailto:{$p.alias}@polytechnique.org"><img alt="[mail]" title="Lui envoyer un mail" src="{rel}/images/mail.png"/></a>
57 <td class="center">X {$p.promo}</td>
58 <td class="right">{$p.montant}</td>
60 <td class="right" colspan="3"><strong>Total </strong></td>
61 <th class="right">{$p.montant}</th>
71 <em>Pas de télépaiement en cours ...</em>
76 {* vim:set et sw=2 sts=2 sws=2: *}