2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 {* this div is being used to apply special css *}
28 <div class="crm-block crm-form-block crm-report-field-form-block">
29 {include file="CRM/Report/Form/Fields.tpl"}
33 <div class="crm-block crm-content-block crm-report-form-block">
34 {include file="CRM/Report/Form/Actions.tpl"}
35 {*Statistics at the Top of the page*}
37 {include file="CRM/Report/Form/Statistics.tpl" top=true}
41 <div class="report-pager">
42 {include file="CRM/common/pager.tpl" location="top"}
44 {foreach from=$events item=eventID}
45 <table class="report-layout">
46 {foreach from=$summary.$eventID item=values key=keys}
50 <th colspan="3">{$values}</th>
53 <tr class="{cycle values="odd-row,even-row"} crm-report crm-report_event_summary" id="crm-report_{$eventID}_summary_{$keys}">
54 <td class="report-contents crm-report_summary_title">{$keys}</td>
55 <td class="report-contents crm-report_summary_details" colspan="3">{$values}</td>
60 {foreach from=$rows item=row key=keys}
62 <table class="report-layout">
65 <th width="34%">{ts 1=$keys}%1 Breakdown{/ts}</th>
66 <th class="reports-header-right">{ts}Total{/ts}</th>
67 <th class="reports-header-right">{ts}% of Total{/ts}</th>
68 <th class="reports-header-right">{ts}Revenue{/ts}</th>
70 {foreach from=$row.$eventID item=row key=role}
71 <tr class="{cycle values="odd-row,even-row"} crm-report crm-report_{$keys}_{$role}" id="crm-report_{$eventID}_{$keys}_{$role}">
72 <td class="report-contents crm-report_{$keys}_breakdown" width="34%">{$role}</td>
73 <td class="report-contents-right crm-report_{$keys}_total">{$row.total}</td>
74 <td class="report-contents-right crm-report_{$keys}_percentage">{$row.round}</td>
75 <td class="report-contents-right crm-report_{$keys}_revenue">{$row.amount}</td>
84 <div class="report-pager">
85 {include file="CRM/common/pager.tpl"}
88 {*Statistics at the bottom of the page*}
89 {include file="CRM/Report/Form/Statistics.tpl" bottom=true}
92 {include file="CRM/Report/Form/ErrorMessage.tpl"}