<?php 
$submit_url = $file_name."?page=view_performance_report"; 
$show_all_page = "page=view_performance_report";
?>
<!-- search form -->
<form class="form-horizontal" action="<?php echo $submit_url;?>" method="post" name="search_form" id="search_form">
	<div class="form-group">
	   <div class="col-sm-3">
			<label for="Job Id" class="control-label">Clients</label>
			<? $gsi->getEnqQuoteJobList("job_id_search",$job_id_search,"100%",false,"form-control select2"); ?>
	   </div>
	  <div class="col-sm-3">
			<label for="Sector" class="control-label">Sector</label>
			<? echo Keycode::getKeycodeListValue("sector", $sector, $width = "100%", "Sector", "id", "code", "sector","","form-control"); ?>
	  </div>
	  <div class="col-sm-3">
			<label for="Consultant" class="control-label">Consultant</label>
			<? Admin::getAdminList("admin_id_search",$admin_id_search,"100%",false,"form-control"); ?>
	  </div>
	  <div class="col-sm-3">
		<label for="From" class="control-label">From</label>
		<input type="text" class="form-control datepicker" id="from_date" name="from_date" value="<?php (isset($from_date) && $from_date !="") ? utility::getFormatedDate($from_date) : "";?>">
	  </div>
	  <div class="col-sm-3">
		<label for="To" class="control-label">To</label>
		<input type="text" class="form-control datepicker" id="to_date" name="to_date" value="<?php (isset($to_date) && $to_date !="") ? utility::getFormatedDate($to_date) : "";?>">
	  </div>
	  <div class="col-sm-3">
		<div style="clear:both;margin-top:25px;"></div>
		<button type="submit" class="btn btn-primary" name="submit" value="submit">Search</button>
		<button type="button" value="Show All" onclick="javascript:window.location='?<?php echo $show_all_page ?>'" class="btn btn-primary">Show All</button>
		<a href="" onClick="window.print();" class="btn btn-default hide_search_div" style="float:right !important;margin-bottom:4px;"><i class="fa fa-print"></i> Print</a>
	   </div>
	</div>
</form>
<!-- /.search form -->