93 lines
2.8 KiB
PHP
93 lines
2.8 KiB
PHP
|
<?php include('pdf_header_reverse.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:10px"><strong>HYGIENE SURVEILLANCE PENDING MEDICAL
|
||
|
EXAMINATION</strong></td>
|
||
|
<td width="25%" align="left"> User : <?php echo $username ?></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<table border="1" width="100%">
|
||
|
<?php
|
||
|
$task=$_REQUEST['task'];
|
||
|
error_log('task'.$task);
|
||
|
$sql_medical_examination="SELECT *,c.employer_contractor_id,c.dept_id from questionaire_master_response a left join questionaire_master_response_details b on a.response_id = b.response_id left join patient_master c on a.patient_id = c.id WHERE a.form_type IN ('chs,khs') and a.approval_status = 'N' AND a.f_status = 'DRP' group by a.response_id ";
|
||
|
//echo $sql_medical_examination;
|
||
|
$results_medical_examination = mysqli_query($conn,$sql_medical_examination);
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
?>
|
||
|
<strong>
|
||
|
<tr bgcolor="#eeeeee">
|
||
|
<td align="left" width="2%">Sr.</td>
|
||
|
<td align="left" width="10%">Location</td>
|
||
|
<td align="left" width="10%">Type</td>
|
||
|
<td valign="top" align="left" width="5%">Screening Date</td>
|
||
|
|
||
|
</tr>
|
||
|
</strong>
|
||
|
|
||
|
<?php
|
||
|
$count=0;
|
||
|
|
||
|
while ($row_medical_examination= mysqli_fetch_assoc($results_medical_examination)){
|
||
|
extract($row_medical_examination);
|
||
|
$chs_no = $row_medical_examination['medical_examination_no'];
|
||
|
$form_type = $row_medical_examination['form_type'];
|
||
|
error_log("chs grid--------".$chs_no);
|
||
|
$response_id = $row_medical_examination['response_id'];
|
||
|
error_log("responseID::::: ". $row_medical_examination['response_id']);
|
||
|
$view_link = "";
|
||
|
$edit_link = "";
|
||
|
$delete_link = "";
|
||
|
$pdf_link = "";
|
||
|
$links = "";
|
||
|
|
||
|
?>
|
||
|
<?php
|
||
|
// if($row_medical_examination['task']=='ame_greater_40' || $row_medical_examination['task']=='annual'){
|
||
|
// $form_name="Annual Medical Examination";
|
||
|
// }else if($row_medical_examination['task']=='ime_long' || $row_medical_examination['task']=='pre_employment'){
|
||
|
// $form_name="Pre-employment Medical Examination";
|
||
|
// }
|
||
|
|
||
|
|
||
|
// $medical_entry_date=date_format(date_create($row_medical_examination['medical_entry_date']),"d-M-Y ");
|
||
|
|
||
|
$count=$count+1;
|
||
|
?>
|
||
|
|
||
|
|
||
|
|
||
|
<tr>
|
||
|
<td><?php echo $count?></td>
|
||
|
<td><?php echo $row_medical_examination['patient_name']?></td>
|
||
|
<td><?php echo 'Canteen Hydiene'?></td>
|
||
|
<td><?php echo $row_medical_examination['screen_date']?></td>
|
||
|
|
||
|
|
||
|
</tr>
|
||
|
<?php
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
?>
|
||
|
</table>
|
||
|
</body>
|
||
|
<?php
|
||
|
include('pdf_footer.php');
|
||
|
?>
|