ESH/hygiene_gaps_report.php
2024-10-23 18:28:06 +05:30

149 lines
4.1 KiB
PHP

<?php include('techsyn_header.php'); ?>
<!-- Main Content Container for side bar and body-->
<div class="main-container ace-save-state" id="main-container">
<script type="text/javascript">
try{ace.settings.loadState('main-container')}catch(e){}
</script>
<?php include('techsyn_sidebar.php'); ?>
<!--breadcrumb-->
<?php
?>
<div class="main-content">
<div class="main-content-inner">
<div class="breadcrumbs ace-save-state" id="breadcrumbs">
<ul class="breadcrumb">
<li class="active">Reports</li>
<li class="active">Hygiene Gaps Report</li>
<div class="nav-search" id="nav-search" style="width: 170px;">
</div>
</ul>
<!-- End of breadcrumb -->
</div>
<div>
<h4 style="font-size: 15px; text-align: center; font-weight: bold">Hygiene Gaps Report</h4>
<table class="table table-bordered" style="margin-right: 50px">
<thead>
<tr>
<td width="12%" style="font-size: 10px" align="left"><strong>Sr.
No</strong></td>
<td width="12%" align="left" style="font-size: 10px"><strong>Report</strong></td>
<td width="15%" style="font-size: 10px">Department<strong></strong></td>
<td width="15%" style="font-size: 10px">Start Date<strong></strong></td>
<td width="15%" style="font-size: 10px">End Date<strong></strong></td>
<td width="4%" style="font-size: 10px"><strong>Pdf</strong></td>
<td width="3%" style="font-size: 10px"><strong>Excel</strong></td>
</tr>
</thead>
<tbody>
<tr>
<form name="hygiene_gaps_report" method="get" action="abnormal_emp_report_pdf.php">
<td align="left" width="12%">1</td>
<td align="left" width="25%" style="font-size: px">Abnormal Employee Report</strong>
</td>
<td width="25%">
<select multiple="" style=" height:30px" class="chosen-select form-control" name="department"
id="department" autofocus="autofocus" data-placeholder="Select Department" required>
<option value=""></option>
<?php echo generateOption('sub_business_unit','sbu_name','sbu_id'); ?>
</select>
</td>
<td>
<div class="input-group">
<input class="form-control date-picker"
style="width: 80px; font-size: 10px; height: 25px;"
id="startDate" name="startDate" type="text"
data-date-format="dd-mm-yyyy" /> <span
class="input-group-addon"> <i
class="fa fa-calendar bigger-110"></i>
</span>
</div>
</td>
<td>
<div class="input-group">
<input class="form-control date-picker"
style="width: 80px; font-size: 10px; height: 25px;"
id="endDate" name="endDate" type="text"
data-date-format="dd-mm-yyyy" /> <span
class="input-group-addon"> <i
class="fa fa-calendar bigger-110"></i>
</span>
</div>
</td>
<td align="left" width="20%"><a href="#"
onclick="abnormal_emp_report_pdf();"><i
class="glyphicon glyphicon-file"></i></a></td>
<td align="left" width="20%"><a href="#"
onclick="abnormal_emp_report_excel();"><i
class="glyphicon glyphicon-download-alt"></i></a></td>
</form>
</tr>
</tbody>
</table>
</div>
</div>
<!-- /.main-content -->
</div>
<?php include('techsyn_footer.php'); ?>
<style>
.input-group-addon {
height: 25px;
width: 30px;
padding: 0px 0px;
}
</style>
<script>
function abnormal_emp_report_pdf(){
document.forms['hygiene_gaps_report'].action="abnormal_emp_report_pdf.php";
document.forms['hygiene_gaps_report'].method='POST';
document.forms['hygiene_gaps_report'].target='_blank'
document.forms['hygiene_gaps_report'].submit();
}
function abnormal_emp_report_excel(){
document.forms['hygiene_gaps_report'].action="abnormal_emp_report_excel.php";
document.forms['hygiene_gaps_report'].method='POST';
document.forms['hygiene_gaps_report'].target='_blank'
document.forms['hygiene_gaps_report'].submit();
}
</script>