|
@@ -51,7 +51,6 @@
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@foreach ($clientMemos as $memo)
|
|
@foreach ($clientMemos as $memo)
|
|
- <?php $memoCreatedBy = $memo->createdBy->pro; ?>
|
|
|
|
@if (!$memo->is_admin_only || ($memo->is_admin_only && $isProTypeAdmin))
|
|
@if (!$memo->is_admin_only || ($memo->is_admin_only && $isProTypeAdmin))
|
|
<tr>
|
|
<tr>
|
|
<td class="text-nowrap">{{ $memo->category }}</td>
|
|
<td class="text-nowrap">{{ $memo->category }}</td>
|
|
@@ -59,7 +58,7 @@
|
|
<pre class="m-0 break-spaces">{{ $memo->content }}</pre>
|
|
<pre class="m-0 break-spaces">{{ $memo->content }}</pre>
|
|
</td>
|
|
</td>
|
|
<td class="text-nowrap">
|
|
<td class="text-nowrap">
|
|
- <strong>{{ $memoCreatedBy->displayName() }}</strong><br />
|
|
|
|
|
|
+ <strong>{{ $memo->creator_pro_display_name }}</strong><br />
|
|
{{ friendly_date_time($memo->created_at) }}
|
|
{{ friendly_date_time($memo->created_at) }}
|
|
</td>
|
|
</td>
|
|
@if ($isProTypeAdmin)
|
|
@if ($isProTypeAdmin)
|
|
@@ -75,38 +74,14 @@
|
|
@if ($memo->mcp_stamp_id)
|
|
@if ($memo->mcp_stamp_id)
|
|
<span class="text-success">YES <i class="fas fa-info-circle c-pointer"
|
|
<span class="text-success">YES <i class="fas fa-info-circle c-pointer"
|
|
data-toggle="tooltip" data-placement="bottom"
|
|
data-toggle="tooltip" data-placement="bottom"
|
|
- title="{{ friendly_date_time($memo->stamp->created_at) }}"></i></span>
|
|
|
|
|
|
+ title="{{ friendly_date_time($memo->stamp_created_at) }}"></i></span>
|
|
@else
|
|
@else
|
|
<span class="text-secondary">NO</span>
|
|
<span class="text-secondary">NO</span>
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
<td class="text-center delete-column">
|
|
<td class="text-center delete-column">
|
|
@if ($isProTypeAdmin)
|
|
@if ($isProTypeAdmin)
|
|
- <div moe relative bottom class="mr-2">
|
|
|
|
- <a start show><i class="fa fa-history"></i></a>
|
|
|
|
- <div action="" url right bottom>
|
|
|
|
- <table class="table table-condensed table-striped table-sm">
|
|
|
|
- <thead>
|
|
|
|
- <th>Category</th>
|
|
|
|
- <th>Summary</th>
|
|
|
|
- <th>Created</th>
|
|
|
|
-
|
|
|
|
- </thead>
|
|
|
|
- <tbody>
|
|
|
|
- @foreach ($memo->updates as $update)
|
|
|
|
- <tr>
|
|
|
|
- <td>{{ $update->category }}</td>
|
|
|
|
- <td>{{ $update->content }}</td>
|
|
|
|
- <td><strong>{{ $update->createdBy->proname_first }}
|
|
|
|
- {{ $update->createdBy->pro->name_last }}</strong><br />{{ friendly_date_time($update->created_at) }}
|
|
|
|
- </td>
|
|
|
|
-
|
|
|
|
- </tr>
|
|
|
|
- @endforeach
|
|
|
|
- </tbody>
|
|
|
|
- </table>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ {{-- @include('app.patient.partials.client-memo-update-history') --}}
|
|
@endif
|
|
@endif
|
|
<div moe wide relative class="mr-2">
|
|
<div moe wide relative class="mr-2">
|
|
<a class="on-hover-opaque" start show title="Edit">
|
|
<a class="on-hover-opaque" start show title="Edit">
|