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
@@ -36,9 +36,9 @@
</div>
<div class="dropdown">
<!-- a class="btn btn-round btn-inverse-primary btn-xs" href="#">View all </a -->
<button type="button" class="btn btn-primary btn-sm">Reminders</button>
<button type="button" class="btn btn-outline-primary btn-sm">Tracking</button>
<button type="button" class="btn btn-info btn-sm">Charts</button>
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'REMIDERS');" class="btn btn-primary btn-sm">Reminders</button>
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'TRACKING');" class="btn btn-outline-primary btn-sm">Tracking</button>
<button type="button" onclick="selectPatienFetures(<?=$patient_id?>,'CHARTS');" class="btn btn-info btn-sm">Charts</button>
</div>
</div>
<div class="card-body">
@@ -148,6 +148,9 @@
<div class="col-lg-6 col-xxl-4 m-b-30">
<div id="action_detail">
</div>
<div class="card card-statistics h-100 mb-0">
<div class="card-header d-flex justify-content-between">
@@ -393,3 +396,25 @@
<!-- end app-container -->
<!-- begin footer -->
<script type="text/javascript">
<!--
function selectPatienFetures(patient_id,patient_action) {
// alert(pending_practice_id);
$('#action_detail').html('Processing...');
// $('#acc' + pending_practice_id).prop('disabled', true);
$.ajax({
url: "/practice/selectPatienFetures?proc=PROCESS&patient_id=" + patient_id + "&patient_action=" +patient_action
}).done(function (data) {
$('#action_detail').html(data);
// $('#acc' + pending_practice_id).prop('disabled', false);
});
return false;
}
// -->
</script>