replace more icons
[platal.git] / templates / xnet / groupe / telepaiement.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
50a40a33 3{* Copyright (C) 2003-2006 Polytechnique.org *}
0337d704 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">
26Voici 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>
a2558f2b 33<a href="https://www.polytechnique.org/payment/{$p.id}">{$p.text}</a>
0337d704 34</h2>
35
36{if $trans[$p.id]}
37<table cellpadding="0" cellspacing="0" class='bicol'>
38 <tr>
aa412cdd 39 <th colspan="4">{$p.text} : détails pour les administrateurs</th>
0337d704 40 </tr>
aa412cdd 41 <tr>
7b2413f6 42 <td class="center">[{if $order eq 'timestamp'}<strong><a href='{$platal->ns}paiement?order={$order}&order_inv={$order_inv}'>{else}<a href='{$platal->ns}paiement?order=timestamp'>{/if}Date</a>{if $order eq 'timestamp'}</strong>{/if}]</td>
aa412cdd 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>
7b2413f6 44 <td class="center">[{if $order eq 'promo'}<strong><a href='{$platal->ns}paiement?order={$order}&order_inv={$order_inv}'>{else}<a href='{$platal->ns}paiement?order=promo'>{/if}Promo</a>{if $order eq 'promo'}</strong>{/if}]</td>
45 <td class="center">[{if $order eq 'montant'}<strong><a href='{$platal->ns}paiement?order={$order}&order_inv={$order_inv}'>{else}<a href='{$platal->ns}paiement?order=montant'>{/if}Montant</a>{if $order eq 'montant'}</strong>{/if}]</td>
aa412cdd 46 </tr>
47 {assign var="somme" value=0}
7e3298b0 48 {foreach from=$trans[$p.id] item=p}
0337d704 49 <tr>
aa412cdd 50 {if $p.nom neq "somme totale"}
51 <td class="center">{$p.date|date_format:"%d/%m/%y"}</td>
52 <td>
53 {$p.prenom} {$p.nom}
7ac1ef77 54 <a href="https://www.polytechnique.org/profile/{$p.alias}">{icon name=user_suit title="fiche"}</a>
7b2413f6 55 <a href="mailto:{$p.alias}@polytechnique.org"><img alt="[mail]" title="Lui envoyer un mail" src="images/mail.png"/></a>
aa412cdd 56 </td>
57 <td class="center">X {$p.promo}</td>
58 <td class="right">{$p.montant}</td>
59 {else}
60 <td class="right" colspan="3"><strong>Total </strong></td>
61 <th class="right">{$p.montant}</th>
62 {/if}
0337d704 63 </tr>
7e3298b0 64 {/foreach}
0337d704 65</table>
66{/if}
67
68{foreachelse}
69
70<p class="descr">
55c22758 71<em>Pas de télépaiement en cours ...</em>
0337d704 72</p>
73
74{/foreach}
75
76{* vim:set et sw=2 sts=2 sws=2: *}