Author: benj
Date: Wed Jun 3 16:02:02 2015
New Revision: 1653
URL: http://svn.gna.org/viewcvs/gdtc?rev=1653&view=rev
Log:
Add prelevement cancelled stuff
Modified:
trunk/gdtc/include/operators.php
trunk/gdtc/templates/smarty/admin/edit_subscription.tpl
Modified: trunk/gdtc/include/operators.php
URL:
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/include/operators.php?rev=1653&r1=1652&r2=1653&view=diff
==============================================================================
--- trunk/gdtc/include/operators.php (original)
+++ trunk/gdtc/include/operators.php Wed Jun 3 16:02:02 2015
@@ -561,6 +561,13 @@
'nb_operands' => 1,
'format' => "{subscription.amount}" ),
+ 'prelevement_cancelled' => Array ( 'class' => 'subscription',
+ 'name' => 'le prélévement est annulé',
+ 'type' => 'numeric',
+ 'nb_operands' => 1,
+ 'format' =>
"{subscription.prelevement_cancelled}" ),
+
+
// ADHÃSION
'actor_status' => Array ( 'class' => 'membership',
'name' => 'l\'état',
Modified: trunk/gdtc/templates/smarty/admin/edit_subscription.tpl
URL:
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/templates/smarty/admin/edit_subscription.tpl?rev=1653&r1=1652&r2=1653&view=diff
==============================================================================
--- trunk/gdtc/templates/smarty/admin/edit_subscription.tpl (original)
+++ trunk/gdtc/templates/smarty/admin/edit_subscription.tpl Wed Jun 3
16:02:02 2015
@@ -75,6 +75,10 @@
<td><input size=60 value="{$additional.prelevement_amount}" type="text"
name="prelevement_amount"> €
</tr>
+<tr><td>Prélévement annulé</td>
+<td><input size=60 value="{$additional.prelevement_cancelled}" type="text"
name="prelevement_cancelled">
+</tr>
+
{if $additional.payment_mode == 'cbweb_recur'}
<tr><td>Prorata</td>
<td><input size=60 value="{$additional.cbrecur_prorata}" type="text"
name="cbrecur_prorata">€
_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits