{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
<h1>Télépaiements</h1>
-{if $smarty.request.op eq "submit" and !$xorg_errors|count}
+{if $smarty.request.op eq "submit" and !$pl_errors}
<table class="bicol">
<tr>
</script>
<form method="post" action="{$platal->pl_self()}">
- <p> Si tu ne souhaites pas utiliser notre interface de
- télépaiement, tu peux virer directement la somme de ton choix sur notre compte
- <strong>30004 00314 00010016782 60</strong>. Nous veillerons à ce que ton paiement parvienne à
- son destinataire. Pense toutefois à le préciser dans le motif du
- versement.
- <br /><br />
</p>
<table class="bicol">
<tr>
<strong>{$pay->text}</strong><input type="hidden" name="ref" value="{$pay->id}" />
{else}
<select name="ref" onchange="payment_submit(this.form)">
- {select_db_table table="`$prefix`paiements" valeur=$pay->id where="WHERE FIND_IN_SET('old',t.flags)=0"
- join="LEFT JOIN groupex.asso AS g ON (t.asso_id = g.id)" group="g.nom"}
+ {select_db_table table="`$prefix`paiements" valeur=$pay->id
+ where="WHERE FIND_IN_SET(\'old\',t.flags)=0"
+ join="LEFT JOIN groups AS g ON (t.asso_id = g.id)" group="g.nom"}
</select>
{/if}
{if $pay->url}
<td>Méthode</td>
<td>
<select name="methode">
- {select_db_table table="paiement.methodes" valeur=$smarty.request.methode}
+ {select_db_table table="payment_methods" valeur=$smarty.request.methode}
</select>
</td>
</tr>
{iterate from=$transactions item=t}
<tr class="{cycle values="pair,impair"}">
<td>{$t.timestamp|date_format}</td>
- <td>{$t.montant|replace:'EUR':'€'}</td>
+ <td>{$t.amount|replace:'EUR':'€'}</td>
</tr>
{/iterate}
</table>