<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<?php include("header-js.php");?>		
		
<!-----hrm-------------->		
<link rel="stylesheet" href="css/style.css" />
<!-- Responsive -->
<link rel="stylesheet" href="css/responsive.css" />

<!-----hrm-------------->
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
          <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
</head>

<body class="skin-blue">
	<?php include("header.php");?>
	

	<?php 
 if($_GET['frm']=='5a')
		$header = 'Professional Tax - Form 5A';	
			
	 ?>
    <!-- Main row -->
    <div class="row">
		<div id="wrapper">
			<div class="content">
				<div class="report-tab">
					<div class="employee-title">
						<div class="report-left"><h2><translate><?php echo $header?$header:"" ;?></translate><span></span></h2></div>
						<div class="report-category"></div>
						<div class="clear-float"></div>
					</div><!-- /employee-title -->
					<div class="clear-float"></div>
					<div class="report-cell-02"></div>
					<div id="tabletabheadlist">
				
					
					<?php if($_GET['frm']=='5a'){?>
							<div id="steps">
								<form name="pffrm5a" id="pffrm5a" action="tax-report-pdf.php" method="post" >
								<p>
								<label>From</label>
								<input type="text" name="from_date" id="from_date">
								<label id="frm_err"></label>
								</p>
								
					
					<select id="location_id" name="location_id" style="width: 130px;">			
	<option value=""></option>
		</select>	
							<p><input type="submit" name="submit" class="color-button pf-form10" value="Generate"></p>
								<input type="hidden" name="form" value="form5a">
								</form>
							</div>
					<?php } ?>
					
					
					<?php if($_GET['frm']=='ert'){?>
					<img src="pfforms/fORM 5.gif" width="850" height="709">
					<?php } ?>
					</div>
					<div class="clear-float"></div>
				</div><!-- /report-cell-02 -->
				<div id="tablelist"></div>
				<div class="clear-float"></div>
				</div><!-- /report-tab -->
				<div class="clear-float"></div>
			</div><!-- /content -->
			<div id="busy">Loading...</div>
			<div class="footer">
			<strong>© add-HRM </strong><span class="currentversion"></span><br />
			<span><translate>Developed by</translate> <a href="http://www.aadhocc.com" target="_blank"><translate>Aadhocc</translate></a></span></div>
			<!-- /footer -->
			</div>
		</div><!-- /.row (main row) -->
		</section><!-- /.content -->
        </aside><!-- /.right-side -->
    </div><!-- ./wrapper -->

        <!-- add new calendar event modal -->


        <!-- jQuery 2.0.2 -->
        <!--<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>-->
        <!-- jQuery UI 1.10.3 -->
       <?php include("footer-js.php");?>
		<link rel="stylesheet" href="css/jquery-ui.css" />
		<script src="js/forms.js" type="text/javascript"></script>
		<script type="text/javascript">
		
		var serviceURLHR =localStorage['serviceURLHR'];

	$.getJSON(serviceURLHR + 'branch.php?action=loadstate',function(data){
		state = data.state;
		
		$.each(state, function(index, state) {
									 
							$('#location_id').append('<option value="'+state.state_id+'">'+state.state	+'</option>');
							
							
		});	$('#location_id').append('<option value="'+'0'+'">'+'Kerala Non Monthly'+'</option>');
	});
	
	
			$(document).ready(function() {
				$('#tablelist').hide();	
				});
		function list_employees(v)
		{			
			if(v=="all"){
			$('#tablelist').hide();	
			}else{
				$('#tablelist').show();	
			}
		}
		
		$('#from_date').datepicker({dateFormat:"dd-mm-yy"});
		$('#to_date').datepicker({dateFormat:"dd-mm-yy"});
		</script>
    </body>
</html>
 
