This commit is contained in:
Olusesan Ameye
2021-02-20 22:09:42 -05:00
parent 77255bba83
commit 67f744c1f2
7 changed files with 47 additions and 18 deletions
@@ -16,18 +16,19 @@
<thead>
<tr>
<th style="width:20px;">#</th>
<th style="width:40px;">Select</th>
<th>Name</th>
<th style="width:20px;">DOB</th>
<th style="width:20px;">Gender</th>
<th style="width:80px;">Phone</th>
<th style="width:50px;">Chart</th>
<th style="width:50px;">Status</th>
<th style="width:20px;">Action</th>
</tr>
</thead>
<tbody>
<?php
$darr = array();
$patient_list = isset($patient_list) ? $patient_list : $darr;
//print_r($patient_list);
$icc = 0;
foreach ($patient_list as $prow) {
$icc++;
@@ -35,11 +36,13 @@
<tr>
<td><?= $icc ?></td>
<td><a href="/patient/selectPatient/<?= $prow->patient_id ?>"><button type="button" class="btn btn-info btn-sm">Select</button></a></td>
<td><a href="/patient/selectPatient/<?=$prow->patient_id ?>"><?= $prow->firstname ?> <?= $prow->lastname ?></a></td>
<td><?=$prow->dob ?></td>
<td><?=$prow->gender ?></td>
<td><?= $prow->phone ?></td>
<td><a href="/patient/chart/<?= $prow->patient_id ?>"><button type="button" class="btn btn-info btn-sm">Chart</button></a></td>
<td><span class="badge badge-success-inverse">Active</span></td>
<td> <a class="mr-3" href="javascript:void(0);" onclick="selectPatient(<?= $prow->patient_id ?>)" ><i class="fe fe-edit"></i></a><a href="javascript:void(0);" onclick="calendarPatient(<?= $prow->patient_id ?>)"><i class="fe fe-calendar"></i></a></td>
<!-- td> <a class="mr-3" href="javascript:void(0);" onclick="selectPatient(<?= $prow->patient_id ?>)" ><i class="fe fe-edit"></i></a><a href="javascript:void(0);" onclick="calendarPatient(<?= $prow->patient_id ?>)"><i class="fe fe-calendar"></i></a></!-->
</tr>
<?
}
@@ -50,12 +53,13 @@
</tbody>
<tfoot>
<tr>
<th>#</th>
<th style="width:20px;">#</th>
<th style="width:40px;">Select</th>
<th>Name</th>
<th>Phone</th>
<th>Chart</th>
<th>Status</th>
<th>Action</th>
<th style="width:20px;">DOB</th>
<th style="width:20px;">Gender</th>
<th style="width:80px;">Phone</th>
<th style="width:50px;">Status</th>
</tr>
</tfoot>
</table>