<!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}
		<style>
		{$containerCss}
		</style>
		<div class="r-vbar-page">
			<div data-width="" data-fixed class="r-left clearfix {$leftbar_class}" >
								<div data-location="left" id="form_left_{$pageid}" data-makeup="leftbar" {$form_left} data-pageid="{$pageid}">
{BEGIN left_block}
 
     
         

			<div data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell class="clearfix " data-itemid="logo1" {$item_logo1}>
				{BEGIN logo_block}
	<A data-itemtype="logo" data-itemid="logo1" {$item_logo1} 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>				
			</div>
		
 

			<div class="clearfix " data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell data-itemid="expand_button" {$item_expand_button} data-topcell-item-type="expand_button" >
				<span data-itemtype="expand_button" data-itemid="expand_button" {$item_expand_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Expand" class="btn btn-link   
	" href="#" >
					<span class="glyphicon glyphicon-triangle-right"></span>
										</a>
</span>
			</div>
		
     
     
         

			<div data-cellId="left_c1" data-pageid="{$pageid}" class="clearfix  r-ori-vert " data-itemtype="menu" data-itemid="menu" {$item_menu} data-pageid="{$pageid}">
				{$menu main}			</div>
		
 

			<div class="clearfix  r-ori-vert" data-cellId="left_c1" data-pageid="{$pageid}" data-itemid="search_panel" {$item_search_panel} data-topcell-item-type="search_panel" >
				<!-- 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_year}


		<div class="form-group srchPanelRow {$filterRow_class_year}" {$filterRow_attrs_year}>
			<label>{$label attendance_Report year }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_year}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_year}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_year}</span>
						</div>
		{END searchCtrlBlock_year}
																{BEGIN searchCtrlBlock_details}


		<div class="form-group srchPanelRow {$filterRow_class_details}" {$filterRow_attrs_details}>
			<label>{$label attendance_Report details }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_details}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_details}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_details}</span>
						</div>
		{END searchCtrlBlock_details}
																{BEGIN searchCtrlBlock_fullname}


		<div class="form-group srchPanelRow {$filterRow_class_fullname}" {$filterRow_attrs_fullname}>
			<label>{$label attendance_Report fullname }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_fullname}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_fullname}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_fullname}</span>
						</div>
		{END searchCtrlBlock_fullname}
																{BEGIN searchCtrlBlock_budgetary_relief_allowance}


		<div class="form-group srchPanelRow {$filterRow_class_budgetary_relief_allowance}" {$filterRow_attrs_budgetary_relief_allowance}>
			<label>{$label attendance_Report budgetary_relief_allowance }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_budgetary_relief_allowance}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_budgetary_relief_allowance}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_budgetary_relief_allowance}</span>
						</div>
		{END searchCtrlBlock_budgetary_relief_allowance}
																{BEGIN searchCtrlBlock_special_allowance_1}


		<div class="form-group srchPanelRow {$filterRow_class_special_allowance_1}" {$filterRow_attrs_special_allowance_1}>
			<label>{$label attendance_Report special_allowance_1 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_special_allowance_1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_special_allowance_1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_special_allowance_1}</span>
						</div>
		{END searchCtrlBlock_special_allowance_1}
																{BEGIN searchCtrlBlock_e_P_f}


		<div class="form-group srchPanelRow {$filterRow_class_e_P_f}" {$filterRow_attrs_e_P_f}>
			<label>{$label attendance_Report e_P_f }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_e_P_f}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_e_P_f}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_e_P_f}</span>
						</div>
		{END searchCtrlBlock_e_P_f}
																{BEGIN searchCtrlBlock_meal_allowance}


		<div class="form-group srchPanelRow {$filterRow_class_meal_allowance}" {$filterRow_attrs_meal_allowance}>
			<label>{$label attendance_Report meal_allowance }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_meal_allowance}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_meal_allowance}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_meal_allowance}</span>
						</div>
		{END searchCtrlBlock_meal_allowance}
																{BEGIN searchCtrlBlock_OT}


		<div class="form-group srchPanelRow {$filterRow_class_OT}" {$filterRow_attrs_OT}>
			<label>{$label attendance_Report OT }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_OT}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_OT}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_OT}</span>
						</div>
		{END searchCtrlBlock_OT}
																{BEGIN searchCtrlBlock_salary}


		<div class="form-group srchPanelRow {$filterRow_class_salary}" {$filterRow_attrs_salary}>
			<label>{$label attendance_Report salary }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_salary}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_salary}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_salary}</span>
						</div>
		{END searchCtrlBlock_salary}
																{BEGIN searchCtrlBlock_budgetary_relief_allowance_rate}


		<div class="form-group srchPanelRow {$filterRow_class_budgetary_relief_allowance_rate}" {$filterRow_attrs_budgetary_relief_allowance_rate}>
			<label>{$label attendance_Report budgetary_relief_allowance_rate }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_budgetary_relief_allowance_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_budgetary_relief_allowance_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_budgetary_relief_allowance_rate}</span>
						</div>
		{END searchCtrlBlock_budgetary_relief_allowance_rate}
																{BEGIN searchCtrlBlock_special_allowance_rate}


		<div class="form-group srchPanelRow {$filterRow_class_special_allowance_rate}" {$filterRow_attrs_special_allowance_rate}>
			<label>{$label attendance_Report special_allowance_rate }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_special_allowance_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_special_allowance_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_special_allowance_rate}</span>
						</div>
		{END searchCtrlBlock_special_allowance_rate}
																{BEGIN searchCtrlBlock_e_P_f_rate}


		<div class="form-group srchPanelRow {$filterRow_class_e_P_f_rate}" {$filterRow_attrs_e_P_f_rate}>
			<label>{$label attendance_Report e_P_f_rate }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_e_P_f_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_e_P_f_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_e_P_f_rate}</span>
						</div>
		{END searchCtrlBlock_e_P_f_rate}
																{BEGIN searchCtrlBlock_meal_allowance_rate}


		<div class="form-group srchPanelRow {$filterRow_class_meal_allowance_rate}" {$filterRow_attrs_meal_allowance_rate}>
			<label>{$label attendance_Report meal_allowance_rate }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_meal_allowance_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_meal_allowance_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_meal_allowance_rate}</span>
						</div>
		{END searchCtrlBlock_meal_allowance_rate}
																{BEGIN searchCtrlBlock_over_time_rate_per_hour}


		<div class="form-group srchPanelRow {$filterRow_class_over_time_rate_per_hour}" {$filterRow_attrs_over_time_rate_per_hour}>
			<label>{$label attendance_Report over_time_rate_per_hour }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_over_time_rate_per_hour}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_over_time_rate_per_hour}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_over_time_rate_per_hour}</span>
						</div>
		{END searchCtrlBlock_over_time_rate_per_hour}
																{BEGIN searchCtrlBlock_days_pay_rate}


		<div class="form-group srchPanelRow {$filterRow_class_days_pay_rate}" {$filterRow_attrs_days_pay_rate}>
			<label>{$label attendance_Report days_pay_rate }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_days_pay_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_days_pay_rate}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_days_pay_rate}</span>
						</div>
		{END searchCtrlBlock_days_pay_rate}
																{BEGIN searchCtrlBlock_SUM_overtime_hours_}


		<div class="form-group srchPanelRow {$filterRow_class_SUM_overtime_hours_}" {$filterRow_attrs_SUM_overtime_hours_}>
			<label>{$label attendance_Report SUM_overtime_hours_ }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_SUM_overtime_hours_}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_SUM_overtime_hours_}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_SUM_overtime_hours_}</span>
						</div>
		{END searchCtrlBlock_SUM_overtime_hours_}
																{BEGIN searchCtrlBlock_SUM_attendance_}


		<div class="form-group srchPanelRow {$filterRow_class_SUM_attendance_}" {$filterRow_attrs_SUM_attendance_}>
			<label>{$label attendance_Report SUM_attendance_ }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_SUM_attendance_}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_SUM_attendance_}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_SUM_attendance_}</span>
						</div>
		{END searchCtrlBlock_SUM_attendance_}
																{BEGIN searchCtrlBlock_month}


		<div class="form-group srchPanelRow {$filterRow_class_month}" {$filterRow_attrs_month}>
			<label>{$label attendance_Report month }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_month}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_month}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_month}</span>
						</div>
		{END searchCtrlBlock_month}
																{BEGIN searchCtrlBlock_id}


		<div class="form-group srchPanelRow {$filterRow_class_id}" {$filterRow_attrs_id}>
			<label>{$label attendance_Report id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_id}</span>
						</div>
		{END searchCtrlBlock_id}
																{BEGIN searchCtrlBlock_emp_id}


		<div class="form-group srchPanelRow {$filterRow_class_emp_id}" {$filterRow_attrs_emp_id}>
			<label>{$label attendance_Report emp_id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_emp_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_emp_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_emp_id}</span>
						</div>
		{END searchCtrlBlock_emp_id}
		

	</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 -->
			</div>
		
    {END left_block}
</div>				</div>	
			<div class="r-content-col" data-resize-left="leftbar">
				<div  class="r-topheader" data-resize-name="topbar">
									{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="leftbar" {$form_supertop} data-pageid="{$pageid}" >
			 
							 
				<span class="navbar-form  navbar-header" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="collapse_button" {$item_collapse_button} data-topcell-item-type="collapse_button" >
				<span data-itemtype="collapse_button" data-itemid="collapse_button" {$item_collapse_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Collapse" class="btn-link   
	 glyphicon glyphicon-triangle-left" href="#" >		
				
								</a>
</span>
			</span>
		 
				<span class="navbar-form  navbar-collapse" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="breadcrumb" {$item_breadcrumb} data-topcell-item-type="breadcrumb" >
				{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}			</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="attendance_report_search.php{$stateLink_full}" {$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="attendance_report_print.php?all=1&amp;format=excel{$stateLink}" {$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="attendance_report_print.php?all=1&amp;format=word{$stateLink}" {$wordlink_attrs}  title="" >
				
		Export to Word		
		</a>
	</li>
{END export_link}
					</ul>
	</span>
</span>
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="loginform_login" {$item_loginform_login} data-topcell-item-type="loginform_login" >
				{BEGIN guestloginbutton}
<span data-itemtype="loginform_login" data-itemid="loginform_login" {$item_loginform_login} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" href="#" {$guestloginlink_attrs} >
							Login			</a>
</span>
{END guestloginbutton}
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="username_button" {$item_username_button} data-topcell-item-type="username_button" >
				{BEGIN loggedas_message}
<span data-itemtype="username_button" data-itemid="username_button" {$item_username_button} 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-user"></span>
						{$username}			<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN logoutbutton}
	<li data-itemtype="logout_link" data-itemid="logout_link" {$item_logout_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$logoutlink_attrs}  title="" >
				
		Log out		
		</a>
	</li>
{END logoutbutton}
							{BEGIN changepwd_link}
	<li data-itemtype="changepassword_link" data-itemid="changepassword_link" {$item_changepassword_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$changepwdlink_attrs}  title="" >
				
		Change password		
		</a>
	</li>
{END changepwd_link}
					</ul>
	</span>
</span>
{END loggedas_message}
			</span>
								</nav>
{END supertop_block}
						{$locking}
				</div>	
				<div class="r-body" data-resize-top="topbar" data-body-width="standard">
					{$header}
					<div class="r-top">
									{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="leftbar" {$form_top} data-pageid="{$pageid}" >		
	</div>		
{END top_block}
						</div>
					<div class="r-above">
										{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="leftbar" {$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="attendance_report_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="attendance_report_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>
					<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;
	}
</style>

	<!-- 0 group fields -->

 <!-- add to settings ? -->
<table class="table table-striped table-bordered rnr-b-grid rnr-gridtable" cellpadding="0" data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$form_grid} data-pageid="{$pageid}" >
	<thead>
		{BEGIN grid_header}
		<tr class="rnr-toprow table-header style1">
					<th class="{$fieldclass_id}"> {$label attendance_Report id }</th>
					<th class="{$fieldclass_emp_id}"> {$label attendance_Report emp_id }</th>
					<th class="{$fieldclass_month}"> {$label attendance_Report month }</th>
					<th class="{$fieldclass_year}"> {$label attendance_Report year }</th>
					<th class="{$fieldclass_SUM_attendance_}"> {$label attendance_Report SUM_attendance_ }</th>
					<th class="{$fieldclass_SUM_overtime_hours_}"> {$label attendance_Report SUM_overtime_hours_ }</th>
					<th class="{$fieldclass_days_pay_rate}"> {$label attendance_Report days_pay_rate }</th>
					<th class="{$fieldclass_over_time_rate_per_hour}"> {$label attendance_Report over_time_rate_per_hour }</th>
					<th class="{$fieldclass_meal_allowance_rate}"> {$label attendance_Report meal_allowance_rate }</th>
					<th class="{$fieldclass_e_P_f_rate}"> {$label attendance_Report e_P_f_rate }</th>
					<th class="{$fieldclass_special_allowance_rate}"> {$label attendance_Report special_allowance_rate }</th>
					<th class="{$fieldclass_budgetary_relief_allowance_rate}"> {$label attendance_Report budgetary_relief_allowance_rate }</th>
					<th class="{$fieldclass_salary}"> {$label attendance_Report salary }</th>
					<th class="{$fieldclass_OT}"> {$label attendance_Report OT }</th>
					<th class="{$fieldclass_meal_allowance}"> {$label attendance_Report meal_allowance }</th>
					<th class="{$fieldclass_e_P_f}"> {$label attendance_Report e_P_f }</th>
					<th class="{$fieldclass_special_allowance_1}"> {$label attendance_Report special_allowance_1 }</th>
					<th class="{$fieldclass_budgetary_relief_allowance}"> {$label attendance_Report budgetary_relief_allowance }</th>
					<th class="{$fieldclass_fullname}"> {$label attendance_Report fullname }</th>
					<th class="{$fieldclass_details}"> {$label attendance_Report details }</th>
				</tr>
		{END grid_header}
	</thead>
	<tbody>
{BEGIN grid_row}
	{BEGIN row_data}
		<tr class="rnr-row style1" {$rowattrs}>
			
			<td {$recordattrs} class="{$fieldclass_id}">
						<span data-itemtype="grid_field" data-field="id" data-itemid="grid_field2" data-pageid={$pageid} data-record-id="{$recId}">
{$id_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_emp_id}">
						<span data-itemtype="grid_field" data-field="emp_id" data-itemid="grid_field3" data-pageid={$pageid} data-record-id="{$recId}">
{$emp_id_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_month}">
						<span data-itemtype="grid_field" data-field="month" data-itemid="grid_field4" data-pageid={$pageid} data-record-id="{$recId}">
{$month_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_year}">
						<span data-itemtype="grid_field" data-field="year" data-itemid="grid_field5" data-pageid={$pageid} data-record-id="{$recId}">
{$year_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_SUM_attendance_}">
						<span data-itemtype="grid_field" data-field="SUM_attendance_" data-itemid="grid_field6" data-pageid={$pageid} data-record-id="{$recId}">
{$SUM_attendance__value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_SUM_overtime_hours_}">
						<span data-itemtype="grid_field" data-field="SUM_overtime_hours_" data-itemid="grid_field7" data-pageid={$pageid} data-record-id="{$recId}">
{$SUM_overtime_hours__value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_days_pay_rate}">
						<span data-itemtype="grid_field" data-field="days_pay_rate" data-itemid="grid_field8" data-pageid={$pageid} data-record-id="{$recId}">
{$days_pay_rate_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_over_time_rate_per_hour}">
						<span data-itemtype="grid_field" data-field="over_time_rate_per_hour" data-itemid="grid_field9" data-pageid={$pageid} data-record-id="{$recId}">
{$over_time_rate_per_hour_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_meal_allowance_rate}">
						<span data-itemtype="grid_field" data-field="meal_allowance_rate" data-itemid="grid_field10" data-pageid={$pageid} data-record-id="{$recId}">
{$meal_allowance_rate_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_e_P_f_rate}">
						<span data-itemtype="grid_field" data-field="e_P_f_rate" data-itemid="grid_field11" data-pageid={$pageid} data-record-id="{$recId}">
{$e_P_f_rate_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_special_allowance_rate}">
						<span data-itemtype="grid_field" data-field="special_allowance_rate" data-itemid="grid_field12" data-pageid={$pageid} data-record-id="{$recId}">
{$special_allowance_rate_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_budgetary_relief_allowance_rate}">
						<span data-itemtype="grid_field" data-field="budgetary_relief_allowance_rate" data-itemid="grid_field13" data-pageid={$pageid} data-record-id="{$recId}">
{$budgetary_relief_allowance_rate_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_salary}">
						<span data-itemtype="grid_field" data-field="salary" data-itemid="grid_field14" data-pageid={$pageid} data-record-id="{$recId}">
{$salary_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_OT}">
						<span data-itemtype="grid_field" data-field="OT" data-itemid="grid_field15" data-pageid={$pageid} data-record-id="{$recId}">
{$OT_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_meal_allowance}">
						<span data-itemtype="grid_field" data-field="meal_allowance" data-itemid="grid_field16" data-pageid={$pageid} data-record-id="{$recId}">
{$meal_allowance_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_e_P_f}">
						<span data-itemtype="grid_field" data-field="e_P_f" data-itemid="grid_field17" data-pageid={$pageid} data-record-id="{$recId}">
{$e_P_f_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_special_allowance_1}">
						<span data-itemtype="grid_field" data-field="special_allowance_1" data-itemid="grid_field18" data-pageid={$pageid} data-record-id="{$recId}">
{$special_allowance_1_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_budgetary_relief_allowance}">
						<span data-itemtype="grid_field" data-field="budgetary_relief_allowance" data-itemid="grid_field19" data-pageid={$pageid} data-record-id="{$recId}">
{$budgetary_relief_allowance_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_fullname}">
						<span data-itemtype="grid_field" data-field="fullname" data-itemid="grid_field20" data-pageid={$pageid} data-record-id="{$recId}">
{$fullname_value}
</span>			</td>
			
			<td {$recordattrs} class="{$fieldclass_details}">
						<span data-itemtype="grid_field" data-field="details" data-itemid="grid_field21" data-pageid={$pageid} data-record-id="{$recId}">
{$details_value}
</span>			</td>
				</tr>
	{END row_data}
{END grid_row}

	

	

	</tbody>
</table>{END grid_block}						</div>
					<div class="r-below">
										{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="leftbar" {$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>
					{$footer}
				</div>	
			</div>	
		</div>
	{END body}
	</body>
</html>
