|
@@ -82,17 +82,12 @@
|
|
|
<tr>
|
|
|
<th class="border-0">Patient</th>
|
|
|
<th class="border-0">Note Eff. Date</th>
|
|
|
-
|
|
|
-
|
|
|
<th class="border-0">HCP</th>
|
|
|
-
|
|
|
<th class="border-0">Signed?</th>
|
|
|
<th class="border-0">Bills</th>
|
|
|
-
|
|
|
@if($performer->pro->pro_type == 'ADMIN')
|
|
|
<th class="border-0">Assessments</th>
|
|
|
@endif
|
|
|
-
|
|
|
@if($performer->pro->pro_type == 'ADMIN')
|
|
|
<th class="border-0">Claims</th>
|
|
|
@endif
|
|
@@ -102,13 +97,13 @@
|
|
|
<tbody>
|
|
|
@foreach ($notes as $note)
|
|
|
<tr class="{{ $note->is_cancelled ? 'cancelled-item always-clickable' : '' }}">
|
|
|
-
|
|
|
<td class="">
|
|
|
- <a href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}">{{ $note->client->displayName() }}</a>
|
|
|
+ <a href="/patients/view/{{ $note->client->uid }}">{{ $note->client->displayName() }}</a>
|
|
|
</td>
|
|
|
<td class="">
|
|
|
- <a href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}"
|
|
|
- class="font-weight-bold">
|
|
|
+ <a href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}?popupmode=1"
|
|
|
+ native target="_blank"
|
|
|
+ class="font-weight-bold note-popup-trigger">
|
|
|
{{ friendly_date_time($note->effective_dateest, false) }}
|
|
|
</a>
|
|
|
<span class="ml-1">{{ $note->is_cancelled ? '[cancelled]' : '' }}</span>
|
|
@@ -216,6 +211,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <div class="stag-popup stag-popup-lg mcp-theme-1" stag-popup-key="note-popup">
|
|
|
+ <form method="POST" action="" class="p-0">
|
|
|
+ <h3 class="stag-popup-title mb-0 mt-3 mx-3 pb-0 border-bottom-0">
|
|
|
+ <span>Note Details</span>
|
|
|
+ <a href="#" class="ml-auto text-secondary"
|
|
|
+ onclick="return closeStagPopup()"><i class="fa fa-times-circle"></i></a>
|
|
|
+ </h3>
|
|
|
+ <div class="pb-3 note-popup-content">
|
|
|
+ <div class="px-3 pt-3 text-secondary font-italic">Loading ...</div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
<script>
|
|
|
(function() {
|
|
|
|
|
@@ -240,6 +248,20 @@
|
|
|
$('select[data-filter]')
|
|
|
.off('change')
|
|
|
.on('change', applyFilters);
|
|
|
+ $('.note-popup-trigger')
|
|
|
+ .off('click')
|
|
|
+ .on('click', function() {
|
|
|
+ window.noMc = true;
|
|
|
+ $.get(this.href, (_data) => {
|
|
|
+ $('.note-popup-content').html(_data);
|
|
|
+ $('.note-popup-content')
|
|
|
+ .find('a, button, input, select')
|
|
|
+ .attr('disabled', 'disabled')
|
|
|
+ .css('pointer-events', 'none');
|
|
|
+ });
|
|
|
+ showStagPopup('note-popup');
|
|
|
+ return false;
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
addMCInitializer('practice-billing-manager', init, '#practice-billing-manager')
|