fix year in headers
[civicrm-core.git] / templates / CRM / Contribute / Form / Task / Print.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2017 |
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 <p>
27
28 {if $rows }
29 <div class="form-item crm-block crm-form-block crm-contribution-form-block">
30 <span class="element-right">{$form.buttons.html}</span>
31 </div>
32 <div class="spacer"></div>
33 <br />
34 <p>
35 <table>
36 <tr class="columnheader">
37 <th>{ts}Name{/ts}</th>
38 <th>{ts}Amount{/ts}</th>
39 <th>{ts}Type{/ts}</th>
40 <th>{ts}Source{/ts}</th>
41 <th>{ts}Received{/ts}</th>
42 <th>{ts}Thank-you Sent{/ts}</th>
43 <th>{ts}Status{/ts}</th>
44 <th>{ts}Premium{/ts}</th>
45 </tr>
46 {foreach from=$rows item=row}
47 <tr class="{cycle values="odd-row,even-row"} crm-contribution">
48 <td class="crm-contribution-sort_name">{$row.sort_name}</td>
49 <td class="right bold crm-contribution-total_amount" nowrap>{$row.total_amount|crmMoney}</td>
50 <td class="crm-contribution-type crm-contribution-{$row.financial_type} crm-financial-type crm-contribution-{$row.financial_type}">{$row.financial_type}</td>
51 <td class="crm-contribution-contribution_source">{$row.contribution_source}</td>
52 <td class="crm-contribution-receive_date">{$row.receive_date|truncate:10:''|crmDate}</td>
53 <td class="crm-contribution-thankyou_date">{$row.thankyou_date|truncate:10:''|crmDate}</td>
54 <td class="crm-contribution-status crm-contribution-status_{$row.contribution_status_id}">
55 {$row.contribution_status_id}<br />
56 {if $row.cancel_date}
57 {$row.cancel_date|truncate:10:''|crmDate}
58 {/if}
59 </td>
60 <td class="crm-contribution-product_name">{$row.product_name}</td>
61 </tr>
62 {/foreach}
63 </table>
64
65 <div class="form-item">
66 <span class="element-right">{$form.buttons.html}</span>
67 </div>
68
69 {else}
70 <div class="messages status no-popup">
71 <div class="icon inform-icon"/>
72 {ts}There are no records selected for Print.{/ts}
73 </div>
74 {/if}