Merge pull request #9410 from jmcclelland/CRM-19664
[civicrm-core.git] / templates / CRM / Report / Form / Contribute / DeferredRevenue.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 {if $criteriaForm OR $instanceForm OR $instanceFormError}
27 <div class="crm-block crm-form-block crm-report-field-form-block">
28 {include file="CRM/Report/Form/Fields.tpl"}
29 </div>
30 {/if}
31
32 <div class="crm-block crm-content-block crm-report-form-block">
33 {*include actions*}
34 {include file="CRM/Report/Form/Actions.tpl"}
35
36 {*Statistics at the Top of the page*}
37 {include file="CRM/Report/Form/Statistics.tpl" top=true}
38
39 <table class="report-layout display">
40 {foreach from=$rows item=row}
41 <thead><th colspan=16><font color="black" size="3">{$row.label}</font></th></thead>
42
43 <thead class="sticky">
44 <tr>
45 {foreach from=$columnHeaders item=label key=header}
46 <th>{$label.title}</th>
47 {/foreach}
48 </tr>
49 </thead>
50 {foreach from=$row.rows item=innerRow key=rowid}
51 <tr>
52 {foreach from=$columnHeaders item=ignore key=header}
53 <td>{$innerRow.$header}</td>
54 {/foreach}
55 {/foreach}
56 </tr>
57 {/foreach}
58 </table>
59
60 <br />
61 {*Statistics at the bottom of the page*}
62 {include file="CRM/Report/Form/Statistics.tpl" bottom=true}
63
64 {include file="CRM/Report/Form/ErrorMessage.tpl"}
65 </div>
66 {if $outputMode == 'print'}
67 <script type="text/javascript">
68 window.print();
69 </script>
70 {/if}