Merge pull request #13502 from colemanw/shortcode
[civicrm-core.git] / templates / CRM / Grant / Form / Task / Print.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
fee14197 3 | CiviCRM version 5 |
6a488035 4 +--------------------------------------------------------------------+
6b83d5bd 5 | Copyright CiviCRM LLC (c) 2004-2019 |
6a488035
TO
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
31037a42 28{if $rows }
6a488035
TO
29<div class="crm-submit-buttons element-right">{$form.buttons.html}</div>
30<div class="spacer"></div>
31<br />
32<p>
33<table>
34 <tr class="columnheader">
35 <td>{ts}Name{/ts}</td>
36 <td>{ts}Status{/ts}</td>
37 <td>{ts}Type{/ts}</td>
38 <td>{ts}Amount Requested{/ts}</td>
39 <td>{ts}Amount Requested(orig. currency){/ts}</td>
40 <td>{ts}Amount Granted{/ts}</td>
e4f46be0 41 <td>{ts}Application Received{/ts}</td>
6a488035
TO
42 <td>{ts}Money Transferred{/ts}</td>
43 </tr>
44{foreach from=$rows item=row}
45 <tr class="{cycle values="odd-row,even-row"}">
46 <td>{$row.sort_name}</td>
47 <td>{$row.grant_status}</td>
48 <td>{$row.grant_type}</td>
49 <td>{$row.grant_amount_total|crmMoney}</td>
50 <td>{$row.grant_amount_requested|crmMoney}</td>
51 <td>{$row.grant_amount_granted|crmMoney}</td>
52 <td>{$row.grant_application_received_date|truncate:10:''|crmDate}</td>
53 <td>{$row.grant_money_transfer_date|truncate:10:''|crmDate}</td>
54 </tr>
55{/foreach}
56</table>
57
58<div class="crm-submit-buttons element-right">{$form.buttons.html}</div>
59
60{else}
61 <div class="messages status no-popup">
62 <div class="icon inform-icon"></div>&nbsp;
63 {ts}There are no records selected for Print.{/ts}
64 </div>
65{/if}