|
@@ -58,10 +58,12 @@
|
|
<table class="table table-sm table-striped table-bordered mb-0 mt-2">
|
|
<table class="table table-sm table-striped table-bordered mb-0 mt-2">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
- <th class="px-2 text-secondary border-bottom-0">Created</th>
|
|
|
|
- <th class="px-2 text-secondary border-bottom-0 w-50">Content</th>
|
|
|
|
<th class="px-2 text-secondary border-bottom-0">Effective Date</th>
|
|
<th class="px-2 text-secondary border-bottom-0">Effective Date</th>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0">Title</th>
|
|
<th class="px-2 text-secondary border-bottom-0">HCP</th>
|
|
<th class="px-2 text-secondary border-bottom-0">HCP</th>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0">Signed</th>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0 w-50">Content</th>
|
|
|
|
+ <th class="px-2 text-secondary border-bottom-0"> </th>
|
|
<th class="px-2 text-secondary border-bottom-0"> </th>
|
|
<th class="px-2 text-secondary border-bottom-0"> </th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
@@ -69,7 +71,19 @@
|
|
@foreach ($patient->notes as $note)
|
|
@foreach ($patient->notes as $note)
|
|
<tr class="{{ $note->is_cancelled ? 'cancelled-item always-clickable' : '' }}">
|
|
<tr class="{{ $note->is_cancelled ? 'cancelled-item always-clickable' : '' }}">
|
|
<td class="px-2">
|
|
<td class="px-2">
|
|
- {{ friendly_date_time($note->created_at, true) }}
|
|
|
|
|
|
+ <span class="font-weight-bold">
|
|
|
|
+ {{ friendly_date_time($note->effective_dateest, false) }}
|
|
|
|
+ </span>
|
|
|
|
+ <span class="ml-1">{{ $note->is_cancelled ? '[cancelled]' : '' }}</span>
|
|
|
|
+ </td>
|
|
|
|
+ <td class="px-2">
|
|
|
|
+ {{ $note->title }}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="px-2">
|
|
|
|
+ {{$note->hcpPro ? $note->hcpPro->name_display: '-'}}
|
|
|
|
+ </td>
|
|
|
|
+ <td class="px-2">
|
|
|
|
+ {!! $note->hcpPro && $note->is_signed_by_hcp ? '<b class="text-success">Yes</b>' : 'No' !!}
|
|
</td>
|
|
</td>
|
|
<td class="px-2 note-summary">
|
|
<td class="px-2 note-summary">
|
|
<?php
|
|
<?php
|
|
@@ -86,13 +100,13 @@
|
|
@endforeach
|
|
@endforeach
|
|
</td>
|
|
</td>
|
|
<td class="px-2">
|
|
<td class="px-2">
|
|
- <span class="font-weight-bold">
|
|
|
|
- {{ friendly_date_time($note->effective_dateest, false) }}
|
|
|
|
- </span>
|
|
|
|
- <span class="ml-1">{{ $note->is_cancelled ? '[cancelled]' : '' }}</span>
|
|
|
|
- </td>
|
|
|
|
- <td class="px-2">
|
|
|
|
- {{$note->hcpPro ? $note->hcpPro->name_display: '-'}}
|
|
|
|
|
|
+ <div class="position-relative c-pointer text-center stag-tooltip">
|
|
|
|
+ <i class="fa fa-info-circle"></i>
|
|
|
|
+ <div class="position-absolute bg-white border rounded p-2 stag-tooltip-content">
|
|
|
|
+ <div class="text-nowrap small text-left pb-1">Created on <b>{{ friendly_date_time($note->created_at, true) }}</b></div>
|
|
|
|
+ <div class="text-nowrap small text-left">Created by <b>{{ $note->createdSession->pro->displayName() }}</b></div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</td>
|
|
</td>
|
|
<td class="px-2">
|
|
<td class="px-2">
|
|
<div class="d-flex align-items-center">
|
|
<div class="d-flex align-items-center">
|