Backend Service

This commit is contained in:
2019-04-08 23:32:41 +00:00
parent 9301db119d
commit 76edf4ebe0
4 changed files with 68 additions and 6 deletions
@@ -0,0 +1,62 @@
<div class="card card-statistics h-100 m-b-30">
<div class="card-header d-flex align-items-center justify-content-between">
<div class="card-heading">
<h4 class="card-title">Patients List</h4>
</div>
<div class="dropdown">
<a class="btn btn-round btn-inverse-primary btn-xs" href="/patient/addnew">Add New </a>
</div>
</div>
<div class="card-body scrollbar scroll_dark pt-0" style="max-height: 630px;">
<div class="datatable-wrapper table-responsive">
<table id="datatable" class="table table-borderless table-striped">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Phone</th>
<th>Chart</th>
<th>Status</th>
<th>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++;
?>
<tr>
<td><?= $icc ?></td>
<td><?= $prow->firstname ?> <?= $prow->lastname ?></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>
</tr>
<?
}
?>
</tbody>
<tfoot>
<tr>
<th>#</th>
<th>Name</th>
<th>Phone</th>
<th>Chart</th>
<th>Status</th>
<th>Action</th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
@@ -6,7 +6,7 @@
</div>
<div class="dropdown">
<a class="btn btn-round btn-inverse-primary btn-xs" href="/patient/addnew">Add New </a>
<a class="btn btn-round btn-inverse-primary btn-xs" href="/patient/report">View all </a>
<a class="btn btn-round btn-inverse-primary btn-xs" href="/patient/findpatient">Find Patient </a>
</div>
</div>
@@ -36,7 +36,7 @@
<div class="form-row">
<div class="form-group col-md-12">
<label for="inputLinkID">Enter Search</label>
<input type="text" class="form-control" id="patient_link_id" name="patient_link_id" value="<?= isset($patient_link_id) ? $patient_link_id : '' ?>" placeholder="Link ID : WE34RTH587">
<input type="text" class="form-control" id="patient_link_id" name="patient_link_id" value="<?= isset($patient_link_id) ? $patient_link_id : '' ?>" placeholder="find....">
</div>
</div>
<div class="form-row">
@@ -44,7 +44,7 @@
<div id="link_result">[]</div>
</div>
<div class="form-group col-md-3">
<button type="submit" id="link_submit" class="btn btn-primary" onclick="return connectLinkID()">Link Patient</button>
<button type="submit" id="link_submit" class="btn btn-primary" onclick="return connectLinkID()">Search</button>
</div>
</div>
</form>
@@ -55,7 +55,7 @@
<div class="col-xxl-8 m-b-30">
<? include 'application/views/provider/components/patient_listing.php'; ?>
<? include 'application/views/provider/components/large_patient_listing.php'; ?>
</div>
</div>
@@ -36,7 +36,7 @@ $menu = array(
<li> <a href='/patient/findpatient'>Find Patient</a> </li -->
</ul>
</li>
<li><a href="app-chat.html" aria-expanded="false"><i class="nav-icon ti ti-comment"></i><span class="nav-title">Chat</span></a> </li>
<!-- li><a href="app-chat.html" aria-expanded="false"><i class="nav-icon ti ti-comment"></i><span class="nav-title">Chat</span></a> </li>
<li><a class="has-arrow" href="/provider" aria-expanded="false"><i class="nav-icon ti ti-calendar"></i><span class="nav-title">Calendar</span></a>
<ul aria-expanded="false">
<li> <a href='calendar-full.html'>Full Calendar</a> </li>
@@ -64,7 +64,7 @@ $menu = array(
<li> <a href="/provider">Dropdowns</a> </li>
</ul>
</li>
</li -->
<li class="nav-static-title">Providers</li>
<li>