|
@@ -1,4 +1,4 @@
|
|
|
-<div class="p-3 border-bottom note-section visit-segment edit-trigger"
|
|
|
+<div class="p-3 border-bottom note-section visit-segment {{$note->is_signed_by_hcp ? '' : 'edit-trigger'}}"
|
|
|
data-segment-uid="{{ $segment->uid }}"
|
|
|
data-segment-template-uid="{{ $segment->segmentTemplate->uid }}"
|
|
|
data-segment-template-name="{{ $segment->segmentTemplate->internal_name }}">
|
|
@@ -20,17 +20,19 @@
|
|
|
{{$segment->display_title}}
|
|
|
</span>
|
|
|
|
|
|
- <a class="edit-trigger d-none if-edit c-pointer ml-3">Close</a>
|
|
|
+ @if(!$note->is_signed_by_hcp)
|
|
|
+ <a class="edit-trigger d-none if-edit c-pointer ml-3">Close</a>
|
|
|
|
|
|
- <!-- refresh -->
|
|
|
- <span class="mx-2 text-secondary text-sm">|</span>
|
|
|
- <a class="font-weight-normal refresh-segment c-pointer"
|
|
|
- data-segment-uid="{{$segment->uid}}"
|
|
|
- title="Update with latest patient data">
|
|
|
- Refresh
|
|
|
- </a>
|
|
|
+ <!-- refresh -->
|
|
|
+ <span class="mx-2 text-secondary text-sm">|</span>
|
|
|
+ <a class="font-weight-normal refresh-segment c-pointer"
|
|
|
+ data-segment-uid="{{$segment->uid}}"
|
|
|
+ title="Update with latest patient data">
|
|
|
+ Refresh
|
|
|
+ </a>
|
|
|
|
|
|
- @include('app/patient/note/_templates-v2-index', ['sectionInternalName' => $segment->segmentTemplate->internal_name])
|
|
|
+ @include('app/patient/note/_templates-v2-index', ['sectionInternalName' => $segment->segmentTemplate->internal_name])
|
|
|
+ @endif
|
|
|
|
|
|
</div>
|
|
|
|