79 lines
2.4 KiB
PHP
79 lines
2.4 KiB
PHP
|
|
|
|
<div class="card-header d-flex justify-content-between">
|
|
<div class="card-heading">
|
|
<h4 class="card-title">Reminders</h4>
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
|
|
<form method="POST" action="/patient/">
|
|
|
|
|
|
<div class="form-row">
|
|
<div class="form-group col-md-12">
|
|
<textarea name="reminder_text" class="form-control" id="remindr_text" placeholder="Reminder Text"></textarea>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-row">
|
|
<div class="form-group col-md-6">
|
|
<label for="inputEmail4">Start Date</label>
|
|
<input type="text" class="form-control date-picker-default" value="" name="startdate">
|
|
</div>
|
|
<div class="form-group col-md-6">
|
|
<label for="inputEmail4">End Date</label>
|
|
<input type="text" class="form-control date-picker-default" value="" name="enddate">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<div class="form-group col-md-12">
|
|
<label for="sel1">Select Reminder:</label>
|
|
<select class="form-control" id="sel1" name="reminder_type">
|
|
<option value='0'>Email</option>
|
|
<option value='1' selected>Email + Notification</option>
|
|
<option value='2'>Email</option>
|
|
<option value='3'>SMS Notification</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-row">
|
|
<div class="form-group col-md-6">
|
|
|
|
</div>
|
|
<div class="form-group col-md-6">
|
|
<button type="submit" class="btn btn-primary btn-block btn-sm">Set Reminder</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
<hr size="1">
|
|
|
|
<ul class="activity">
|
|
|
|
<?
|
|
// print_r($patient_reminder_list[0]);
|
|
foreach ($patient_reminder_list as $prm) {
|
|
?>
|
|
|
|
<li class="activity-item info">
|
|
<div class="activity-info">
|
|
<h5 class="mb-0"><?= $prm->description ?></h5>
|
|
<span><?= $prm->start_date ?> to <?= $prm->end_date ?></span>
|
|
</div>
|
|
</li>
|
|
<?
|
|
}
|
|
?>
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
|