66 lines
2.0 KiB
PHP
66 lines
2.0 KiB
PHP
|
<?php
|
||
|
include('pdf_header.php');
|
||
|
// include('pdf_header_reverse.php');
|
||
|
include_once('includes/config/config.php');
|
||
|
include_once('includes/functions.php');
|
||
|
include("pdf_ohc_header.php");
|
||
|
//include('pop_up_top.php');
|
||
|
?>
|
||
|
<link href="includes/css-js/admin.css" rel="stylesheet" type="text/css" />
|
||
|
<body>
|
||
|
<table width="100%" >
|
||
|
<tr><div style="font-size:12px">
|
||
|
<td width="25%" align="left"> Run Date : <?php echo date("d-M-Y"); ?></td>
|
||
|
<td width="50%" align="center" style="font-size:0px"><strong>Oxygen Cylinder Details</strong></td>
|
||
|
<td width="25%" align="left"> User : <?php echo $username ?></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<table border="1" width="100%">
|
||
|
<?php
|
||
|
|
||
|
$sql="SELECT * FROM oxygen_cylinder_details ";
|
||
|
|
||
|
//$results= mysqli_query($conn,$sql_waste);
|
||
|
$sql=base64_decode($filterkey);
|
||
|
|
||
|
$result = mysqli_query($conn,$sql);
|
||
|
|
||
|
?>
|
||
|
<strong><tr bgcolor="#eeeeee"><td align="left" width="2%" >Sr.</td><td align="left" width="10%">Oxygen Kit No.</td><td align="left" width="10%">Issued Date</td><td align="left" width="10%">Reading</td><td align="left" width="10%">Cylinder Key Knob Condition</td><td align="left" width="10%">Regulator Key Knob Condition</td><td align="left" width="8%">Checked By</td><td valign="top" width="8%" align="left">Department Personnel</td><td valign="top" align="left" width="5%">Remarks</td></tr>
|
||
|
|
||
|
<?php
|
||
|
$count=1;
|
||
|
while ($row1= mysqli_fetch_assoc($result)){
|
||
|
extract($row1);
|
||
|
|
||
|
$cylinder_no = getTableFieldValue('oxygen_cylinder','oxygen_kit_no','id',$row1['oxygen_cylinder_id']);
|
||
|
?>
|
||
|
|
||
|
<tr>
|
||
|
<td><?php echo $count?></td>
|
||
|
|
||
|
|
||
|
<td><?php echo $cylinder_no ?></td>
|
||
|
<td><?php echo date_format(date_create($row1['issued_date']),"d-M-Y ")?></td>
|
||
|
<td><?php echo $row1['reading']?></td>
|
||
|
<td><?php echo $row1['knob_condition']?></td>
|
||
|
<td><?php echo $row1['regulator_key_knob_condition']?></td>
|
||
|
<td><?php echo $row1['checked_by']?></td>
|
||
|
<td><?php echo $row1['department_personnel']?></td>
|
||
|
<td><?php echo $row1['remarks']?></td>
|
||
|
|
||
|
|
||
|
</tr>
|
||
|
<?php
|
||
|
$count++;
|
||
|
}
|
||
|
?>
|
||
|
</table>
|
||
|
</body>
|
||
|
|
||
|
<?php
|
||
|
include('pdf_footer.php');
|
||
|
?>
|
||
|
|
||
|
|