| DIR:/proc/self/cwd/application/views/report/report_pages/ |
| Current File : //proc/self/cwd/application/views/report/report_pages/retestReport.php |
<div class="container-fluid">
<!-- ============================================================== -->
<!-- Start Page Content -->
<!-- ============================================================== -->
<div class="row">
<div class="col-md-12">
<button type="button" class="btn btn-info" onclick="printReport()" style="overflow: hidden">Print</button>
<div class="card card-body" id="printableArea">
<h3 class="text-center"><?php echo $report_head?></h3>
<h6 class="text-center">Report of: <?php echo $report_date?></h6>
<hr class="report_title_hr">
<div class="row">
<div class="col-md-12">
<table class="table table-bordered custom_report_table">
<thead>
<tr class="text-center">
<th width="3%">#</th>
<th width="5%">Re-Test Date</th>
<th width="10%">Previous Test Date</th>
<th width="7%">Previous Test Type</th>
<th width="10%">Patient Name</th>
<th width="7%">Gender</th>
<th width="7%">E-mail</th>
<th width="7%">Contact</th>
<th width="10%">Address</th>
<th width="5%">Previous Result</th>
<th width="5%">Previous Confirmed Case</th>
<th width="5%">Previous Speciment</th>
<th width="5%">Previous Self Isolation Recomanded</th>
<th width="5%">Previous RT-PCR</th>
</tr>
</thead>
<tbody>
<?php
if($report){
foreach ($report as $data) {
$i=1;
?>
<tr class="text-center">
<td><?php echo $i;?></td>
<td><?php echo $data['retest_date'];?></td>
<td><?php echo $data['test_date'];?></td>
<td><?php echo $data['test_type'];?></td>
<td><?php echo $data['name'];?></td>
<td><?php echo $data['gender'];?></td>
<td><?php echo $data['email'];?></td>
<td><?php echo $data['contact_no'];?></td>
<td><?php echo $data['address'];?></td>
<td><?php echo $data['result'];?></td>
<td><?php echo $data['confirmed_case'];?></td>
<td><?php echo $data['specimen'];?></td>
<td><?php echo $data['self_isolation_recomanded'];?></td>
<td><?php echo $data['rt_pcr'];?></td>
</tr>
<?php
$i++;
}
}
else{
?>
<tr>
<td colspan="15" class="text-center">There is no test data for: <strong><?php echo $report_date?></strong></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div> |