|
@@ -86,9 +86,11 @@
|
|
|
$online = $patient->is_online ? 'online' : '';
|
|
|
$patientName = implode(', ', array_filter([$patient->name_last, $patient->name_first]));
|
|
|
|
|
|
- $confirmedCell = $patient->is_cell_number_confirmed ? $patient->cell_number : null;
|
|
|
- $confirmedEmail = $patient->is_email_address_confirmed ? $patient->email_address : null;
|
|
|
+ $confirmedCell = empty($patient->cell_number) ? '-' : $patient->cell_number;
|
|
|
+ $confirmedEmail = empty($patient->email_address) ? '-' : $patient->email_address;
|
|
|
+
|
|
|
$location = implode(', ', array_filter([$patient->home_address_city, $patient->home_address_state]));
|
|
|
+ $location = empty($location) ? '-' : $location;
|
|
|
|
|
|
$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;
|
|
@@ -178,6 +180,46 @@
|
|
|
<li><i class="fa fa-phone-alt" aria-hidden="true"></i> {{$confirmedCell}}</li>
|
|
|
<li><i class="fa fa-envelope" aria-hidden="true"></i> {{$confirmedEmail}}</li>
|
|
|
<li><i class="fa fa-map-marker-alt" aria-hidden="true"></i> {{$location}}</li>
|
|
|
+ <li>
|
|
|
+ <div moe>
|
|
|
+ <a start show><i class="fa fa-edit"></i></a>
|
|
|
+ <form url="/api/client/putContactInfo" class="mcp-theme-1">
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
+ <div class="mb-2">
|
|
|
+ <input type="tel"
|
|
|
+ class="form-control form-control-sm"
|
|
|
+ name="cellNumber"
|
|
|
+ placeholder="Phone Number"
|
|
|
+ value="{{ $patient->cell_number }}">
|
|
|
+ </div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <input type="text"
|
|
|
+ class="form-control form-control-sm"
|
|
|
+ name="email"
|
|
|
+ placeholder="Email"
|
|
|
+ value="{{ $patient->email_address }}">
|
|
|
+ </div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <input type="text"
|
|
|
+ class="form-control form-control-sm"
|
|
|
+ name="city"
|
|
|
+ placeholder="City"
|
|
|
+ value="{{ $patient->home_address_city }}">
|
|
|
+ </div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <input type="text"
|
|
|
+ class="form-control form-control-sm"
|
|
|
+ name="state"
|
|
|
+ placeholder="State"
|
|
|
+ value="{{ $patient->home_address_state }}">
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
</ul>
|
|
|
<div class=separators>
|
|
|
<div>Joined <?=$memberSince?></div>
|