|
@@ -82,7 +82,7 @@
|
|
|
$confirmedEmail = $patient->is_email_address_confirmed ? $patient->email_address : null;
|
|
|
$location = implode(', ', array_filter([$patient->home_address_city, $patient->home_address_state]));
|
|
|
|
|
|
- $mcpName = implode(', ', array_filter([$patient->mcp->name_last, $patient->mcp->name_first]));
|
|
|
+ $mcpName = $patient->mcp ? implode(', ', array_filter([$patient->mcp->name_last, $patient->mcp->name_first])) : null;
|
|
|
$cmName = $patient->cm ? implode(', ', array_filter([$patient->cm->name_last, $patient->cm->name_first])) : null;
|
|
|
|
|
|
$memberSince = date_diff(date_create($patient->created_at), date_create('now'))->days;
|
|
@@ -219,17 +219,17 @@
|
|
|
</a>
|
|
|
<form url="/api/client/setNextAppointment" right>
|
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
-
|
|
|
+
|
|
|
<div>
|
|
|
<label for="" class="control-label text-left">Date</label>
|
|
|
<input type="date" name="date">
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div>
|
|
|
<label for="" class="control-label text-left">Is time specific</label>
|
|
|
<input type="checkbox" name="isTimeSpecific">
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div>
|
|
|
<label for="" class="control-label text-left">Time</label>
|
|
|
<input type="time" name="time">
|
|
@@ -244,7 +244,7 @@
|
|
|
</div>
|
|
|
</div></div> <!-- z -->
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="card-header" style=display:none>
|
|
|
@if($patient->is_duplicate)
|
|
|
<div class="alert alert-danger">
|