Merge pull request #13257 from vinuvarshith/BASW-316-unable-to-mark-price-set-as...
[civicrm-core.git] / templates / CRM / Report / Form.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
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 {* this div is being used to apply special css *}
27 {if $section eq 1}
28 <div class="crm-block crm-content-block crm-report-layoutGraph-form-block">
29 {*include the graph*}
30 {include file="CRM/Report/Form/Layout/Graph.tpl"}
31 </div>
32 {elseif $section eq 2}
33 <div class="crm-block crm-content-block crm-report-layoutTable-form-block">
34 {*include the table layout*}
35 {include file="CRM/Report/Form/Layout/Table.tpl"}
36 </div>
37 {else}
38 {if $criteriaForm OR $instanceForm OR $instanceFormError}
39 <div class="crm-block crm-form-block crm-report-field-form-block">
40 {include file="CRM/Report/Form/Fields.tpl"}
41 </div>
42 {/if}
43
44 <div class="crm-block crm-content-block crm-report-form-block">
45 {*include actions*}
46 {include file="CRM/Report/Form/Actions.tpl"}
47
48 {*Statistics at the Top of the page*}
49 {include file="CRM/Report/Form/Statistics.tpl" top=true}
50
51 {*include the graph*}
52 {include file="CRM/Report/Form/Layout/Graph.tpl"}
53
54 {*include the table layout*}
55 {include file="CRM/Report/Form/Layout/Table.tpl"}
56 <br />
57 {*Statistics at the bottom of the page*}
58 {include file="CRM/Report/Form/Statistics.tpl" bottom=true}
59
60 {include file="CRM/Report/Form/ErrorMessage.tpl"}
61 </div>
62 {/if}
63 {if $outputMode == 'print'}
64 <script type="text/javascript">
65 window.print();
66 </script>
67 {/if}