stupid bug
[platal.git] / templates / xnet / groupe / telepaiement.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2004 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
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.                                   *}
10 {*                                                                        *}
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.                          *}
15 {*                                                                        *}
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               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23 <h1>{$asso.nom} : Gestion des télépaiements </h1>
24
25 <p class="descr">
26 Voici la liste des paiements en ligne possible pour le groupe {$asso.nom}
27 </p>
28
29 {foreach from=$titres item=p}
30
31 <hr />
32 <h2>
33 <a href="https://www.polytechnique.org/paiement/?ref={$p.id}">{$p.text}</a>
34 </h2>
35
36 {if $trans[$p.id]}
37 <table cellpadding="0" cellspacing="0" class='bicol'>
38   <tr>
39     <th colspan="3">{$p.text} : détails pour les administrateurs</th>
40   </tr>
41   {foreach from=$trans[$p.id] item=p}
42   <tr>
43     <td>{$p.date|date_format}</td>
44     <td>
45       <a href="https://www.polytechnique.org/fiche.php?user={$p.alias}">{$p.nom} {$p.prenom} (X{$promo})</a>
46       (<a href="mailto:{$p.alias}@polytechnique.org">mail</a>)
47     </td>
48     <td>{$p.montant}</td>
49   </tr>
50   {/foreach}
51 </table>
52 {/if}
53
54 {foreachelse}
55
56 <p class="descr">
57 <em>Pas de télépaiement en cours ...</em>
58 </p>
59
60 {/foreach}
61
62 {* vim:set et sw=2 sts=2 sws=2: *}