1 {**************************************************************************}
3 {* Copyright (C) 2003-2004 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 {**************************************************************************}
24 <h1>Télépaiements</h1>
26 {if $smarty.request.op eq "submit" and !$xorg_error->errs|count}
30 <th colspan="2">Paiement via {$meth->text}</th>
33 <td><b>Transaction</b></td>
37 <td><b>Montant (euros)</b></td>
43 <form method="post" action="{$pay->api->urlform}">
45 <!-- infos commercant -->
46 {foreach from=$pay->api->infos.commercant key="name" item="value"}
47 <input type="hidden" name="{$name}" value="{$value}" />
50 {foreach from=$pay->api->infos.client key="name" item="value"}
51 <input type="hidden" name="{$name}" value="{$value}" />
53 <!-- infos commande -->
54 {foreach from=$pay->api->infos.commande key="name" item="value"}
55 <input type="hidden" name="{$name}" value="{$value}" />
59 {foreach from=$pay->api->infos.divers key="name" item="value"}
60 <input type="hidden" name="{$name}" value="{$value}" />
62 <input type="submit" value="Valider" />
69 En cliquant sur "Valider", tu seras redirigé{if $smarty.session.sexe}e{/if} vers le site de {$pay->api->nomsite}, où il te
70 sera demandé de saisir ton numéro de carte bancaire. Lorsque le paiement aura été effectué, tu
71 recevras une confirmation par email.
80 Si tu n'es pas encore inscrit à cet événement, n'oublie pas d'aller t'<a href='http://www.polytechnique.net/{$evtlink.diminutif}/evt-detail.php?eid={$evtlink.eid}'>inscrire</a>.
86 <form method="post" action="{$smarty.server.PHP_SELF}">
87 <p> Si tu ne souhaites pas utiliser notre interface de
88 télépaiement, tu peux virer directement la somme de ton choix sur notre compte
89 30004 00314 00010016782 60. Nous veillerons à ce que ton paiement parvienne à
90 son destinataire. Pense toutefois à le préciser dans le motif du
96 <th colspan="2">Effectuer un télépaiement</th>
101 <select name="ref" onchange="this.form.op.value='select'; this.form.submit();">
102 {select_db_table table="`$prefix`paiements" valeur=$pay->id where=" WHERE FIND_IN_SET('old',flags)=0"}
106 <a href="{$pay->url}">plus d'informations</a>
113 <select name="methode">
114 {select_db_table table="paiement.methodes" valeur=$methode}
119 <td>Montant (euros)</td>
120 <td><input type="text" name="montant" size="13" class='right' value="{$montant}" /></td>
125 <input type="hidden" name="op" value="submit" />
126 <input type="submit" value="Continuer" />
133 <p class="descr">Tu as déjà effecuté des paiements pour cette transaction :</p>
134 <table class="bicol">
135 <tr><th>Date</th><th>Montant</th></tr>
136 {iterate from=$transactions item=t}
137 <tr class="{cycle values="pair,impair"}">
138 <td>{$t.timestamp|date_format}</td>
139 <td>{$t.montant}</td>
148 {* vim:set et sw=2 sts=2 sws=2: *}