f73dadc4 |
1 | {* |
2 | +--------------------------------------------------------------------+ |
3 | | CiviCRM version 5 | |
4 | +--------------------------------------------------------------------+ |
5 | | Copyright CiviCRM LLC (c) 2004-2018 | |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | |
8 | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | |
10 | | under the terms of the GNU Affero General Public License | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | |
12 | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
16 | | See the GNU Affero General Public License for more details. | |
17 | | | |
18 | | You should have received a copy of the GNU Affero General Public | |
19 | | License and the CiviCRM Licensing Exception along | |
20 | | with this program; if not, contact CiviCRM LLC | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | |
24 | +--------------------------------------------------------------------+ |
25 | *} |
26 | {strip} |
27 | <table class="selector row-highlight"> |
28 | <tr class="columnheader"> |
29 | <th scope="col">{ts}Amount{/ts}</th> |
30 | <th scope="col">{ts}Frequency{/ts}</th> |
31 | <th scope="col">{ts}Start Date{/ts}</th> |
32 | <th scope="col">{ts}Installments{/ts}</th> |
33 | <th scope="col">{ts}Status{/ts}</th> |
34 | <th scope="col"></th> |
35 | </tr> |
36 | |
37 | {foreach from=$recurRows item=row} |
38 | {assign var=id value=$row.id} |
39 | <tr id="contribution_recur-{$row.id}" data-action="cancel" class="crm-entity {cycle values="even-row,odd-row"}{if NOT $row.is_active} disabled{/if}"> |
40 | <td>{$row.amount|crmMoney:$row.currency}{if $row.is_test} ({ts}test{/ts}){/if}</td> |
41 | <td>{ts}Every{/ts} {$row.frequency_interval} {$row.frequency_unit} </td> |
42 | <td>{$row.start_date|crmDate}</td> |
43 | <td>{$row.installments}</td> |
44 | <td>{$row.contribution_status}</td> |
45 | <td>{$row.action|replace:'xx':$row.recurId}</td> |
46 | </tr> |
47 | {/foreach} |
48 | </table> |
49 | {/strip} |