Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
819d0d41 | 3 | | CiviCRM version 4.5 | |
6a488035 | 4 | +--------------------------------------------------------------------+ |
819d0d41 | 5 | | Copyright CiviCRM LLC (c) 2004-2014 | |
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 | ||
28 | {if $rows } | |
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> | |
41 | <td>{ts}Application Recieved{/ts}</td> | |
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> | |
63 | {ts}There are no records selected for Print.{/ts} | |
64 | </div> | |
65 | {/if} |