<!doctype html>
<html  {$html_attrs}>
	<head>
				<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
	</head>
	<body class="{$stylename} function-report" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		<div class="r-topbar-page">
			<div data-menu-width="full" 
				 
				class="r-topheader" 
				data-resize-name="topbar"
				data-body-align="left"
			>
								{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="topbar" {$form_supertop} data-pageid="{$pageid}" >
			 
							 
				<span data-cellId="supertop_c1" data-pageid="{$pageid}" class="r-align-left navbar-header" data-itemid="logo" {$item_logo}>
				{BEGIN logo_block}
	<A data-itemtype="logo" data-itemid="logo" {$item_logo} data-pageid="{$pageid}" class="navbar-brand" href="{$home_link}" data-pageid="{$pageid}" {$logo_hiddenattr}>
		{$logo}
	</A>
{END logo_block}
				<button data-pageid="1" type="button" class="navbar-toggle collapsed" data-runner-toggle="collapse" data-target="[data-mobile-controlled]">	
					<span class="sr-only">Toggle navigation</span>	
					<span class="icon-bar"></span>					
				</button>				
			</span>
		 
				<span data-cellId="supertop_c1" data-pageid="{$pageid}" class="r-align-left navbar-collapse" data-itemtype="menu" data-itemid="menu" {$item_menu} data-pageid="{$pageid}">
				{$menu main horizontal}			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search" {$item_simple_search} data-topcell-item-type="simple_search" >
				<span data-itemtype="simple_search" data-itemid="simple_search" {$item_simple_search} data-pageid="{$pageid}" class="form-group">

<div  class="input-group">
{BEGIN searchform_text}
	<input type="search" class="form-control" {$searchfor_attrs} size="25">
{END searchform_text}
	<span class="input-group-btn">
	{BEGIN searchform_showall}
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs} title="Show all">
			<span class="glyphicon glyphicon-remove"></span>
		</button>
	{END searchform_showall}
	{BEGIN searchform_search}
	<button {$searchbutton_attrs} class="btn btn-primary" >
		<span class="glyphicon glyphicon-search"></span>
	</button>
	{END searchform_search}
	</span>
</div>
		
</span>			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="list_options" {$item_list_options} data-topcell-item-type="list_options" >
				<span data-itemtype="list_options" data-itemid="list_options" {$item_list_options} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown ">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-cog"></span>
									<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
								<li data-itemtype="advsearch_link" data-itemid="advsearch_link" {$item_advsearch_link} data-pageid="{$pageid}" data-small >
				<a   href="YearlyFinancialsByInstitution_search.php" {$advsearchlink_attrs}  title="" >
				
		Advanced search		
		</a>
	</li>
							{BEGIN searchPanelTopButtons}
	<li data-itemtype="show_search_panel" data-itemid="show_search_panel" {$item_show_search_panel} data-pageid="{$pageid}" data-small >
				<a  id="showOptPanel{$id}"  title="" >
				
		Show search panel		
		</a>
	</li>
{END searchPanelTopButtons}
							{BEGIN searchPanelTopButtons}
	<li data-itemtype="hide_search_panel" data-itemid="hide_search_panel" {$item_hide_search_panel} data-pageid="{$pageid}" data-small >
				<a  id="hideOptPanel{$id}"  title="" >
				
		Hide search panel		
		</a>
	</li>
{END searchPanelTopButtons}
							<li role="separator" class="divider"></li>							{BEGIN export_link}
	<li data-itemtype="export_report_excel" data-itemid="export_report_excel" {$item_export_report_excel} data-pageid="{$pageid}" data-small >
				<a  href="YearlyFinancialsByInstitution_export.php?all=1&amp;format=excel" {$excellink_attrs}  title="" >
				
		Export to Excel		
		</a>
	</li>
{END export_link}
							{BEGIN export_link}
	<li data-itemtype="export_report_word" data-itemid="export_report_word" {$item_export_report_word} data-pageid="{$pageid}" data-small >
				<a  href="YearlyFinancialsByInstitution_export.php?all=1&amp;format=word" {$wordlink_attrs}  title="" >
				
		Export to Word		
		</a>
	</li>
{END export_link}
							<li role="separator" class="divider"></li>							{BEGIN export_link}
	<li data-itemtype="export_report_pdf" data-itemid="export_report_pdf" {$item_export_report_pdf} data-pageid="{$pageid}" data-small >
				<a  data-pdfpage="rprint" 
data-scope="0" 
data-split="0" 
data-records="10" 
data-orientation="portrait" 
data-scale="100" 
data-filename="Yearly Financials By Institution.pdf" 
data-pagetype="rprint" 
  title="" >
				
		Export to PDF		
		</a>
	</li>
{END export_link}
					</ul>
	</span>
</span>
			</span>
								</nav>
{END supertop_block}
					{$locking}
			</div>	
			<div data-body-align="left"  data-body-width="standard" class="r-body" data-resize-top="topbar" >
				<div class="r-top">
								{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="topbar" {$form_top} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	
">
		 
		{BEGIN breadcrumb}
<ol class="breadcrumb" data-itemtype="breadcrumb" data-itemid="breadcrumb" {$item_breadcrumb} data-pageid="{$pageid}">
<li ><a href="{$crumb_home_link}"><span class="glyphicon glyphicon-home"></span></a>{$crumb_dropdown}</li>
{BEGIN crumb}
  <li class="{$crumb_item_class}">
{BEGIN crumb_title_link}
	<a {$crumb_attrs}>{$crumb_title}</a>
{END crumb_title_link}
{BEGIN crumb_title_span}
	<span {$crumb_attrs}>{$crumb_title}</span>
{END crumb_title_span}	
	{$crumb_dropdown}
  </li>
{END crumb}
</ol>
{END breadcrumb}		</div>					</div>
	</div>		
{END top_block}
					</div>
				<div class="r-content">
										<div class="r-left" {$blockattr_left} {$form_left} >
										{BEGIN left_block}
<table class="r-fluid r-form" data-location="left" id="form_left_{$pageid}" data-makeup="topbar" {$form_left} data-pageid="{$pageid}" >
						<tbody>
			
								<tr>
									<td 
	class=" r-ori-vert			"
			 
	data-cellId="left_c1" data-pageid="{$pageid}">
 
<!-- Begin Search panel content -->
<div class="searchOptions panel panel-primary searchPanelContainer " {$srchOpt_attrs} data-itemtype="search_panel" data-itemid="search_panel" {$item_search_panel} data-pageid="{$pageid}" >

	<div class="panel-heading">
		<div class="btn-group" id="addSearchFieldButton{$id}">
			<button id="showHideControlChooseMenu{$id}" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
			Search in			<span class="caret"></span>
			</button>
		</div>


		<div class="btn-group searchpanel-options" id="searchPanelOptions{$id}">
			<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
				<span class="glyphicon glyphicon glyphicon-option-vertical"></span>
			</button>
			<ul class="dropdown-menu dropdown-left">
				<li id="showHideSearchType{$id}" {$showHideCtrlsOpt_attrs}><a>Show options</a></li>
				<li role="separator" class="divider"></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAll" {$all_checkbox}><label for="radioAll"><span class="glyphicon">&nbsp;</span>all conditions</label></a></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAny" {$any_checkbox}><label for="radioAny"><span class="glyphicon">&nbsp;</span>any condition</label></a></li>
				<li role="separator" class="divider"></li>
				<li><a class="close-button"><span class="glyphicon glyphicon-remove">&nbsp;</span>hide</a></li>
			</ul>
		</div>


		</div>
	<div class="panel-body controlsBlock" {$bottomSearchButt_attrs} >


		
		{BEGIN searchCtrlBlock}
		<div class="srchPanelRow form-group" {$filterRow_attrs}>
			<label>{$fLabel}</label>	{$delCtrlButt}
				<span class="rnr-searchtype">{$searchtype}</span>
				<span class="rnr-searchcontrol">{$searchcontrol}</span>
				<span class="rnr-searchcontrol">{$searchcontrol1}</span>
		</div>
		{END searchCtrlBlock}
																		{BEGIN searchCtrlBlock_Surname}


		<div class="form-group srchPanelRow {$filterRow_class_Surname}" {$filterRow_attrs_Surname}>
			<label>{$label YearlyFinancialsByInstitution Surname }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_Surname}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_Surname}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_Surname}</span>
						</div>
		{END searchCtrlBlock_Surname}
																{BEGIN searchCtrlBlock_FifthYear}


		<div class="form-group srchPanelRow {$filterRow_class_FifthYear}" {$filterRow_attrs_FifthYear}>
			<label>{$label YearlyFinancialsByInstitution FifthYear }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_FifthYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_FifthYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_FifthYear}</span>
						</div>
		{END searchCtrlBlock_FifthYear}
																{BEGIN searchCtrlBlock_FourthYear}


		<div class="form-group srchPanelRow {$filterRow_class_FourthYear}" {$filterRow_attrs_FourthYear}>
			<label>{$label YearlyFinancialsByInstitution FourthYear }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_FourthYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_FourthYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_FourthYear}</span>
						</div>
		{END searchCtrlBlock_FourthYear}
																{BEGIN searchCtrlBlock_ThirdYear}


		<div class="form-group srchPanelRow {$filterRow_class_ThirdYear}" {$filterRow_attrs_ThirdYear}>
			<label>{$label YearlyFinancialsByInstitution ThirdYear }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_ThirdYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_ThirdYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_ThirdYear}</span>
						</div>
		{END searchCtrlBlock_ThirdYear}
																{BEGIN searchCtrlBlock_SecondYear}


		<div class="form-group srchPanelRow {$filterRow_class_SecondYear}" {$filterRow_attrs_SecondYear}>
			<label>{$label YearlyFinancialsByInstitution SecondYear }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_SecondYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_SecondYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_SecondYear}</span>
						</div>
		{END searchCtrlBlock_SecondYear}
																{BEGIN searchCtrlBlock_FirstYear}


		<div class="form-group srchPanelRow {$filterRow_class_FirstYear}" {$filterRow_attrs_FirstYear}>
			<label>{$label YearlyFinancialsByInstitution FirstYear }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_FirstYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_FirstYear}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_FirstYear}</span>
						</div>
		{END searchCtrlBlock_FirstYear}
																{BEGIN searchCtrlBlock_TertiaryInstitutionAdmitted}


		<div class="form-group srchPanelRow {$filterRow_class_TertiaryInstitutionAdmitted}" {$filterRow_attrs_TertiaryInstitutionAdmitted}>
			<label>{$label YearlyFinancialsByInstitution TertiaryInstitutionAdmitted }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_TertiaryInstitutionAdmitted}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_TertiaryInstitutionAdmitted}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_TertiaryInstitutionAdmitted}</span>
						</div>
		{END searchCtrlBlock_TertiaryInstitutionAdmitted}
																{BEGIN searchCtrlBlock_FirstName}


		<div class="form-group srchPanelRow {$filterRow_class_FirstName}" {$filterRow_attrs_FirstName}>
			<label>{$label YearlyFinancialsByInstitution FirstName }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_FirstName}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_FirstName}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_FirstName}</span>
						</div>
		{END searchCtrlBlock_FirstName}
		

	</div>

	<div class="panel-footer bottomSearchButt" {$bottomSearchButt_attrs}>
		<button class="btn btn-primary" id="searchButton{$id}" {$searchbutton_attrs}>Search</button>
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs}>Show all</button>
	</div>
</div>
<!-- End Search panel content -->
</td>
							</tr>
					
					</tbody>
				</table>
{END left_block}
						</div>
										<div class="r-data-block" data-body-width="standard" >
						
										{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="topbar" {$form_above-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-6
	
">
		{BEGIN firstAboveGridCell}
				{END firstAboveGridCell}	
	</div>			 
				<div 
	data-cellId="above-grid_c2" data-pageid="{$pageid}"	{$cell_above-grid_c2}
	class="r-align-right			col-md-6
	
">
		 
		<span data-itemtype="details_found" data-itemid="details_found" {$item_details_found} data-pageid="{$pageid}" data-small >
{$details_found_labeldetails_found}
</span>	 
		<span data-itemtype="page_size" data-itemid="page_size" {$item_page_size} data-pageid="{$pageid}" >
		{$grpsPerPage}
</span>	 
		{BEGIN print_friendly}
<span id="printpanelblock{$id}"  data-pageid="{$pageid}" {$printpanel_hiddenattr} data-itemtype="print_panel" data-itemid="print_panel" {$item_print_panel} data-pageid="{$pageid}">
	<button title="Print-friendly page" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
					<span class="glyphicon glyphicon-print"></span>
				<span class="caret"></span>
	</button>
	<ul class="dropdown-menu pull-right">
										 
				 
					<li class="container-fluid 
										">
									<div id="print_friendly_scope{$id}">
	<div class="row">
		<div class="col-md-4">
			Scope:		</div>

		{BEGIN print_friendly_all}
		<div class="col-md-8">
			<label for="printAll{$id}">
				<input type="radio" id="printAll{$id}" data-href="YearlyFinancialsByInstitution_print.php?all=1&amp;{$crosstable_attrs}" name="printScope">
									Print whole report							</label>
		</div>
		{END print_friendly_all}
	</div>
	<div class="row">
		<div class="col-md-4">&nbsp;</div>
		<div class="col-md-8">
			<label for="printPage{$id}">
				<input name="printScope" id="printPage{$id}" type="radio" checked data-href="YearlyFinancialsByInstitution_print.php?{$crosstable_attrs}">
				Print this page			</label>
		</div>
	</div>
	
	</div>				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
										">
									<div>
	<label for="printPerPage{$id}">
					Groups per page							
	</label>
	<input type="number" id="printPerPage{$id}" value="{$print_recspp}" class="rnr-printrecspp">		
</div>
				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
					 text-center 					">
									<span data-itemtype="print_button" data-itemid="print_button" {$item_print_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" id="print_friendly_button{$id}" >
							Print			</a>
</span>
				 
					</li>
															</ul>
</span>
{END print_friendly}
		</div>					</div>
	</div>		
{END above-grid_block}
							
						<div class="r-grid">
										{BEGIN grid_block}
{BEGIN grid_tabs}
  <ul class="nav nav-tabs bsgrid_tabs">
	{$grid_tabs_content}
  </ul>
{END grid_tabs}
{BEGIN message_block}
<div data-grid-message data-pageid="{$pageid}" class="alert {$message_class}" role="alert" {$grid_message_attrs}>{$message}</div>
{END message_block}<style>
	td.pagesummary.pagesummary.pagesummary.pagesummary.pagesummary.pagesummary.pagesummary.pagesummary {
		background-color: #ffffbb;
	}
	td.globalsummary.globalsummary.globalsummary.globalsummary.globalsummary.globalsummary.globalsummary.globalsummary {background-color: #ffe0b0;
	}
	.rnr-report {
		width: 100%;
	}
	td {
		padding: 2px; 4px;
	}
			td.group_1{
			background-color: #FFFF00;
		}
		td.nbgroup_1{
			background-color: #FFFF00;
		}
		td.header_1 {
			background-color: #D8D800; 
			font-size: 120%;
			padding: 2px 8px;
			font-weight: bold;
		}
			td.group_2{
			background-color: #FFB6C1;
		}
		td.nbgroup_2{
			background-color: #FFB6C1;
		}
		td.header_2 {
			background-color: #D89AA4; 
			font-size: 120%;
			padding: 2px 8px;
			font-weight: bold;
		}
		td.blackshade {
		font-size: 120%;
	}
	.summaryrow > * {
		border:solid #808080 1px; 
		border-left: none; 
		border-right: none;
	}
		.fieldnamesrow > * 
	{
		border:solid #808080 1px; 
		border-left: none; 
		border-right: none;
	}
	</style>

<div class="rnr-cw-grid rnr-s-2 asbuttons {$pageStyleName}" data-location="grid" id="form_grid_{$pageid}" data-makeup="topbar" {$form_grid} data-pageid="{$pageid}" >
					
 <!-- add to settings ? -->


<table class="table table-striped table-bordered rnr-b-grid rnr-gridtable" cellpadding="0" >
	<tbody>			
{BEGIN grid_row}
				<!--  group headers -->
	 
		{BEGIN FirstYear_newgroup}							
		<tr class="group-spliter-1"  >
			<td class="header_1" colspan="13">
				{$label YearlyFinancialsByInstitution FirstYear }:&nbsp;
				{$xFirstYear_grval}
								<span data-itemtype="grid_field" data-field="FirstYear" data-itemid="grid_field2" data-pageid={$pageid} data-record-id="{$recId}">
{$FirstYear_grval}
</span>			</td>
		</tr>
		
				{END FirstYear_newgroup}
	 
		{BEGIN TertiaryInstitutionAdmitted_newgroup}							
		<tr class="group-spliter-2"  >
			<td class="header_2" colspan="13">
				{$label YearlyFinancialsByInstitution TertiaryInstitutionAdmitted }:&nbsp;
				{$xTertiaryInstitutionAdmitted_grval}
								<span data-itemtype="grid_field" data-field="TertiaryInstitutionAdmitted" data-itemid="grid_field3" data-pageid={$pageid} data-record-id="{$recId}">
{$TertiaryInstitutionAdmitted_grval}
</span>			</td>
		</tr>
		
				<tr class="fieldnamesrow group-headers">
																								<td class="blackshade {$fieldclass_Surname}">{$label YearlyFinancialsByInstitution Surname }</td>
														<td class="blackshade {$fieldclass_StudentTotall}">{$label YearlyFinancialsByInstitution StudentTotall }</td>
														<td class="blackshade {$fieldclass_FifthYearFee}">{$label YearlyFinancialsByInstitution FifthYearFee }</td>
														<td class="blackshade {$fieldclass_FifthYear}">{$label YearlyFinancialsByInstitution FifthYear }</td>
														<td class="blackshade {$fieldclass_FourthYearFee}">{$label YearlyFinancialsByInstitution FourthYearFee }</td>
														<td class="blackshade {$fieldclass_FourthYear}">{$label YearlyFinancialsByInstitution FourthYear }</td>
														<td class="blackshade {$fieldclass_ThirdYearFee}">{$label YearlyFinancialsByInstitution ThirdYearFee }</td>
														<td class="blackshade {$fieldclass_ThirdYear}">{$label YearlyFinancialsByInstitution ThirdYear }</td>
														<td class="blackshade {$fieldclass_SecondYearFee}">{$label YearlyFinancialsByInstitution SecondYearFee }</td>
														<td class="blackshade {$fieldclass_SecondYear}">{$label YearlyFinancialsByInstitution SecondYear }</td>
														<td class="blackshade {$fieldclass_FirstYearFee}">{$label YearlyFinancialsByInstitution FirstYearFee }</td>
														<td class="blackshade {$fieldclass_StudentSchoolID}">{$label YearlyFinancialsByInstitution StudentSchoolID }</td>
														<td class="blackshade {$fieldclass_FirstName}">{$label YearlyFinancialsByInstitution FirstName }</td>
									</tr>
				{END TertiaryInstitutionAdmitted_newgroup}
		

			<!--  data-->
		{BEGIN row_data}
		<tr >
																								<td class="data {$fieldclass_Surname}">
			{$xSurname_value}
						<span data-itemtype="grid_field" data-field="Surname" data-itemid="grid_field4" data-pageid={$pageid} data-record-id="{$recId}">
{$Surname_value}
</span>			</td>
														<td class="data {$fieldclass_StudentTotall}">
			{$xStudentTotall_value}
						<span data-itemtype="grid_field" data-field="StudentTotall" data-itemid="grid_field5" data-pageid={$pageid} data-record-id="{$recId}">
{$StudentTotall_value}
</span>			</td>
														<td class="data {$fieldclass_FifthYearFee}">
			{$xFifthYearFee_value}
						<span data-itemtype="grid_field" data-field="FifthYearFee" data-itemid="grid_field6" data-pageid={$pageid} data-record-id="{$recId}">
{$FifthYearFee_value}
</span>			</td>
														<td class="data {$fieldclass_FifthYear}">
			{$xFifthYear_value}
						<span data-itemtype="grid_field" data-field="FifthYear" data-itemid="grid_field7" data-pageid={$pageid} data-record-id="{$recId}">
{$FifthYear_value}
</span>			</td>
														<td class="data {$fieldclass_FourthYearFee}">
			{$xFourthYearFee_value}
						<span data-itemtype="grid_field" data-field="FourthYearFee" data-itemid="grid_field8" data-pageid={$pageid} data-record-id="{$recId}">
{$FourthYearFee_value}
</span>			</td>
														<td class="data {$fieldclass_FourthYear}">
			{$xFourthYear_value}
						<span data-itemtype="grid_field" data-field="FourthYear" data-itemid="grid_field9" data-pageid={$pageid} data-record-id="{$recId}">
{$FourthYear_value}
</span>			</td>
														<td class="data {$fieldclass_ThirdYearFee}">
			{$xThirdYearFee_value}
						<span data-itemtype="grid_field" data-field="ThirdYearFee" data-itemid="grid_field10" data-pageid={$pageid} data-record-id="{$recId}">
{$ThirdYearFee_value}
</span>			</td>
														<td class="data {$fieldclass_ThirdYear}">
			{$xThirdYear_value}
						<span data-itemtype="grid_field" data-field="ThirdYear" data-itemid="grid_field11" data-pageid={$pageid} data-record-id="{$recId}">
{$ThirdYear_value}
</span>			</td>
														<td class="data {$fieldclass_SecondYearFee}">
			{$xSecondYearFee_value}
						<span data-itemtype="grid_field" data-field="SecondYearFee" data-itemid="grid_field12" data-pageid={$pageid} data-record-id="{$recId}">
{$SecondYearFee_value}
</span>			</td>
														<td class="data {$fieldclass_SecondYear}">
			{$xSecondYear_value}
						<span data-itemtype="grid_field" data-field="SecondYear" data-itemid="grid_field13" data-pageid={$pageid} data-record-id="{$recId}">
{$SecondYear_value}
</span>			</td>
														<td class="data {$fieldclass_FirstYearFee}">
			{$xFirstYearFee_value}
						<span data-itemtype="grid_field" data-field="FirstYearFee" data-itemid="grid_field14" data-pageid={$pageid} data-record-id="{$recId}">
{$FirstYearFee_value}
</span>			</td>
														<td class="data {$fieldclass_StudentSchoolID}">
			{$xStudentSchoolID_value}
						<span data-itemtype="grid_field" data-field="StudentSchoolID" data-itemid="grid_field15" data-pageid={$pageid} data-record-id="{$recId}">
{$StudentSchoolID_value}
</span>			</td>
														<td class="data {$fieldclass_FirstName}">
			{$xFirstName_value}
						<span data-itemtype="grid_field" data-field="FirstName" data-itemid="grid_field16" data-pageid={$pageid} data-record-id="{$recId}">
{$FirstName_value}
</span>			</td>
									</tr>
		{END row_data}
	
	<!---  group summary-->
					{BEGIN TertiaryInstitutionAdmitted_endgroup}

		<tr >
					<td class="group_2" colspan="13">
				Summary for {$label YearlyFinancialsByInstitution TertiaryInstitutionAdmitted } {$TertiaryInstitutionAdmitted_grval} - <span class="summary-2" data-type="summary" data-value="{$groupTertiaryInstitutionAdmitted_total_cnt}">
					{$groupTertiaryInstitutionAdmitted_total_cnt}
				</span> records total			</td>			
				</tr>
		
					<!--  Sum -->
			<tr >
												<td class="group_2">
									Sum									&nbsp;
							
				</td>
												<td class="group_2 {$fieldclass_StudentTotall}">
									&nbsp;
									<span class="summary-2" data-type="sum" data-value="{$groupTertiaryInstitutionAdmitted_totalStudentTotall_sum}" data-field="StudentTotall">					
						{$groupTertiaryInstitutionAdmitted_totalStudentTotall_sum}
					</span>			
							
				</td>
												<td class="group_2 {$fieldclass_FifthYearFee}">
									&nbsp;
									<span class="summary-2" data-type="sum" data-value="{$groupTertiaryInstitutionAdmitted_totalFifthYearFee_sum}" data-field="FifthYearFee">					
						{$groupTertiaryInstitutionAdmitted_totalFifthYearFee_sum}
					</span>			
							
				</td>
												<td class="group_2">
									&nbsp;
							
				</td>
												<td class="group_2 {$fieldclass_FourthYearFee}">
									&nbsp;
									<span class="summary-2" data-type="sum" data-value="{$groupTertiaryInstitutionAdmitted_totalFourthYearFee_sum}" data-field="FourthYearFee">					
						{$groupTertiaryInstitutionAdmitted_totalFourthYearFee_sum}
					</span>			
							
				</td>
												<td class="group_2">
									&nbsp;
							
				</td>
												<td class="group_2 {$fieldclass_ThirdYearFee}">
									&nbsp;
									<span class="summary-2" data-type="sum" data-value="{$groupTertiaryInstitutionAdmitted_totalThirdYearFee_sum}" data-field="ThirdYearFee">					
						{$groupTertiaryInstitutionAdmitted_totalThirdYearFee_sum}
					</span>			
							
				</td>
												<td class="group_2">
									&nbsp;
							
				</td>
												<td class="group_2 {$fieldclass_SecondYearFee}">
									&nbsp;
									<span class="summary-2" data-type="sum" data-value="{$groupTertiaryInstitutionAdmitted_totalSecondYearFee_sum}" data-field="SecondYearFee">					
						{$groupTertiaryInstitutionAdmitted_totalSecondYearFee_sum}
					</span>			
							
				</td>
												<td class="group_2">
									&nbsp;
							
				</td>
												<td class="group_2 {$fieldclass_FirstYearFee}">
									&nbsp;
									<span class="summary-2" data-type="sum" data-value="{$groupTertiaryInstitutionAdmitted_totalFirstYearFee_sum}" data-field="FirstYearFee">					
						{$groupTertiaryInstitutionAdmitted_totalFirstYearFee_sum}
					</span>			
							
				</td>
												<td class="group_2">
									&nbsp;
							
				</td>
												<td class="group_2">
									&nbsp;
							
				</td>
						</tr>
		
		
		
			

		{END TertiaryInstitutionAdmitted_endgroup}
							{BEGIN FirstYear_endgroup}

		<tr >
					<td class="group_1" colspan="13">
				Summary for {$label YearlyFinancialsByInstitution FirstYear } {$FirstYear_grval} - <span class="summary-1" data-type="summary" data-value="{$groupFirstYear_total_cnt}">
					{$groupFirstYear_total_cnt}
				</span> records total			</td>			
				</tr>
		
					<!--  Sum -->
			<tr >
												<td class="group_1">
									Sum									&nbsp;
							
				</td>
												<td class="group_1 {$fieldclass_StudentTotall}">
									&nbsp;
									<span class="summary-1" data-type="sum" data-value="{$groupFirstYear_totalStudentTotall_sum}" data-field="StudentTotall">					
						{$groupFirstYear_totalStudentTotall_sum}
					</span>			
							
				</td>
												<td class="group_1 {$fieldclass_FifthYearFee}">
									&nbsp;
									<span class="summary-1" data-type="sum" data-value="{$groupFirstYear_totalFifthYearFee_sum}" data-field="FifthYearFee">					
						{$groupFirstYear_totalFifthYearFee_sum}
					</span>			
							
				</td>
												<td class="group_1">
									&nbsp;
							
				</td>
												<td class="group_1 {$fieldclass_FourthYearFee}">
									&nbsp;
									<span class="summary-1" data-type="sum" data-value="{$groupFirstYear_totalFourthYearFee_sum}" data-field="FourthYearFee">					
						{$groupFirstYear_totalFourthYearFee_sum}
					</span>			
							
				</td>
												<td class="group_1">
									&nbsp;
							
				</td>
												<td class="group_1 {$fieldclass_ThirdYearFee}">
									&nbsp;
									<span class="summary-1" data-type="sum" data-value="{$groupFirstYear_totalThirdYearFee_sum}" data-field="ThirdYearFee">					
						{$groupFirstYear_totalThirdYearFee_sum}
					</span>			
							
				</td>
												<td class="group_1">
									&nbsp;
							
				</td>
												<td class="group_1 {$fieldclass_SecondYearFee}">
									&nbsp;
									<span class="summary-1" data-type="sum" data-value="{$groupFirstYear_totalSecondYearFee_sum}" data-field="SecondYearFee">					
						{$groupFirstYear_totalSecondYearFee_sum}
					</span>			
							
				</td>
												<td class="group_1">
									&nbsp;
							
				</td>
												<td class="group_1 {$fieldclass_FirstYearFee}">
									&nbsp;
									<span class="summary-1" data-type="sum" data-value="{$groupFirstYear_totalFirstYearFee_sum}" data-field="FirstYearFee">					
						{$groupFirstYear_totalFirstYearFee_sum}
					</span>			
							
				</td>
												<td class="group_1">
									&nbsp;
							
				</td>
												<td class="group_1">
									&nbsp;
							
				</td>
						</tr>
		
		
		
			

		{END FirstYear_endgroup}
			
{END grid_row}

	{BEGIN summary_header}
	<tr class="summary-header">
						
						
							<td class="blackshade {$fieldclass_Surname}">{$label YearlyFinancialsByInstitution Surname }</td>
				
							<td class="blackshade {$fieldclass_StudentTotall}">{$label YearlyFinancialsByInstitution StudentTotall }</td>
				
							<td class="blackshade {$fieldclass_FifthYearFee}">{$label YearlyFinancialsByInstitution FifthYearFee }</td>
				
							<td class="blackshade {$fieldclass_FifthYear}">{$label YearlyFinancialsByInstitution FifthYear }</td>
				
							<td class="blackshade {$fieldclass_FourthYearFee}">{$label YearlyFinancialsByInstitution FourthYearFee }</td>
				
							<td class="blackshade {$fieldclass_FourthYear}">{$label YearlyFinancialsByInstitution FourthYear }</td>
				
							<td class="blackshade {$fieldclass_ThirdYearFee}">{$label YearlyFinancialsByInstitution ThirdYearFee }</td>
				
							<td class="blackshade {$fieldclass_ThirdYear}">{$label YearlyFinancialsByInstitution ThirdYear }</td>
				
							<td class="blackshade {$fieldclass_SecondYearFee}">{$label YearlyFinancialsByInstitution SecondYearFee }</td>
				
							<td class="blackshade {$fieldclass_SecondYear}">{$label YearlyFinancialsByInstitution SecondYear }</td>
				
							<td class="blackshade {$fieldclass_FirstYearFee}">{$label YearlyFinancialsByInstitution FirstYearFee }</td>
				
							<td class="blackshade {$fieldclass_StudentSchoolID}">{$label YearlyFinancialsByInstitution StudentSchoolID }</td>
				
							<td class="blackshade {$fieldclass_FirstName}">{$label YearlyFinancialsByInstitution FirstName }</td>
				
			
	</tr>
	{END summary_header}			




    
    

	<!-- global summary-->
	{BEGIN global_summary}
    <tr class="summaryrow summary-global">
        <td class="globalsummary" colspan="15">
            Global summary {$global_total_cnt} - records total        </td>
    </tr>

	    <!--  Sum -->
    <tr class="summary-global">
					
                <td class="globalsummary">Sum</td>
        		
					
                <td class="globalsummary {$fieldclass_StudentTotall}">
            {$global_totalStudentTotall_sum}
        </td>
        		
					
                <td class="globalsummary {$fieldclass_FifthYearFee}">
            {$global_totalFifthYearFee_sum}
        </td>
        		
					
                <td class="globalsummary">&nbsp;</td>
				
					
                <td class="globalsummary {$fieldclass_FourthYearFee}">
            {$global_totalFourthYearFee_sum}
        </td>
        		
					
                <td class="globalsummary">&nbsp;</td>
				
					
                <td class="globalsummary {$fieldclass_ThirdYearFee}">
            {$global_totalThirdYearFee_sum}
        </td>
        		
					
                <td class="globalsummary">&nbsp;</td>
				
					
                <td class="globalsummary {$fieldclass_SecondYearFee}">
            {$global_totalSecondYearFee_sum}
        </td>
        		
					
                <td class="globalsummary">&nbsp;</td>
				
					
                <td class="globalsummary {$fieldclass_FirstYearFee}">
            {$global_totalFirstYearFee_sum}
        </td>
        		
					
                <td class="globalsummary">&nbsp;</td>
				
					
                <td class="globalsummary">&nbsp;</td>
				
		</tr>
	
	
	
		{END global_summary}

	</tbody>
</table>		</div>
	{END grid_block}							</div>
						
										{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="topbar" {$form_below-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="r-align-center r-ori-vert			col-md-12
	
">
		 
		{BEGIN pagination_block}
<span data-itemtype="pagination" data-itemid="pagination" {$item_pagination} data-pageid="{$pageid}" >
{$pagination}
</span>
{END pagination_block}
		</div>					</div>
	</div>		
{END below-grid_block}
							
					</div>
				</div>
			</div>
		</div>
		{$footer}
	{END body}
	</body>
</html>
