163 lines
4.2 KiB
PHP
163 lines
4.2 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">Bio Medical Waste Generation Report</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<!-- End of breadcrumb -->
|
|
|
|
</div>
|
|
<div class="page-content">
|
|
<div id="flexigridDiv" class="table-responsiv">
|
|
<h4 style="font-size: 15px; text-align: center; font-weight: bold">Bio Medical Waste Report</h4>
|
|
<form id="bio_medical_waste_report"
|
|
name="bio_medical_waste_report">
|
|
<table class="table table-bordered"
|
|
style="margin-left:10px; width: 90%">
|
|
|
|
<thead>
|
|
<tr>
|
|
|
|
<td align="left" style="font-size: 10px" width="15%"><strong>Report</strong></td>
|
|
|
|
|
|
<td style="font-size: 10px" width="15%"><strong>Select OHC Location</strong></td>
|
|
|
|
|
|
<td style="font-size: 10px" width="10%"><strong>From Date</strong></td>
|
|
<td style="font-size: 10px" width="10%"><strong>To Date</strong></td>
|
|
<td style="font-size: 10px" width="10%"><strong>Pdf</strong></td>
|
|
<td style="font-size: 10px" width="10%"><strong>Excel</strong></td>
|
|
|
|
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td>Bio Medical Waste Report</td>
|
|
|
|
<td>
|
|
<select
|
|
style="height: 30px;font-size: 10px" class="chosen-select form-control"
|
|
name="ohcname" data-placeholder="Select ohc location" id="ohcname"
|
|
autofocus="autofocus" required>
|
|
<option value="All">ohc type</option>
|
|
<?php echo generateOption('ohc_type','ohc_type_name','ohc_type_name',$_SESSION['ohc_type_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" ><a href="#"
|
|
onclick="bio_medical_waste_report_pdf();"><i
|
|
class="glyphicon glyphicon-file"></i></a></td>
|
|
<td align="left"><a href="#"
|
|
onclick="medicine_issue_report_excel();"><i
|
|
class="glyphicon glyphicon-download-alt"></i></a></td>
|
|
|
|
|
|
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<?php include('techsyn_footer.php'); ?>
|
|
<style>
|
|
.input-group-addon {
|
|
height: 25px;
|
|
width: 30px;
|
|
padding: 0px 0px;
|
|
}
|
|
</style>
|
|
<script>
|
|
|
|
|
|
|
|
|
|
function bio_medical_waste_report_pdf(){
|
|
|
|
|
|
|
|
document.forms['bio_medical_waste_report'].action="bio_medical_waste_report.php";
|
|
document.forms['bio_medical_waste_report'].method='POST';
|
|
document.forms['bio_medical_waste_report'].target='_blank'
|
|
document.forms['bio_medical_waste_report'].submit();
|
|
|
|
|
|
|
|
}
|
|
function medicine_issue_report_excel(){
|
|
|
|
|
|
|
|
document.forms['bio_medical_waste_report'].action="medicine_issue_report_excel.php";
|
|
document.forms['bio_medical_waste_report'].method='POST';
|
|
document.forms['bio_medical_waste_report'].target='_blank'
|
|
document.forms['bio_medical_waste_report'].submit();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|