|
@@ -214,7 +214,9 @@
|
|
$latestSectionTS = $sectionTS;
|
|
$latestSectionTS = $sectionTS;
|
|
}
|
|
}
|
|
?>
|
|
?>
|
|
- <div data-ts={{$sectionTS}} class="p-3 border-bottom note-section {{ $section->is_initialized ? '' : 'pending-initialization' }}"
|
|
|
|
|
|
+ <div data-ts="{{$sectionTS}}"
|
|
|
|
+ class="p-3 border-bottom note-section {{ $note->is_signed_by_hcp ? 'signed-note' : '' }} {{ $section->is_initialized ? '' : 'pending-initialization' }}"
|
|
|
|
+ {!! $note->is_signed_by_hcp ? 'title="Signed note. Cannot be edited further."' : '' !!}
|
|
data-section-uid="{{ $section->uid }}"
|
|
data-section-uid="{{ $section->uid }}"
|
|
data-section-template-uid="{{ $section->sectionTemplate->uid }}"
|
|
data-section-template-uid="{{ $section->sectionTemplate->uid }}"
|
|
data-section-template-name="{{ $section->sectionTemplate->internal_name }}">
|
|
data-section-template-name="{{ $section->sectionTemplate->internal_name }}">
|
|
@@ -791,6 +793,7 @@
|
|
@endsection
|
|
@endsection
|
|
|
|
|
|
@section('left-nav-content')
|
|
@section('left-nav-content')
|
|
|
|
+ @if(!$note->is_signed_by_hcp)
|
|
<div class="left-nav-content" id="note-sections-app">
|
|
<div class="left-nav-content" id="note-sections-app">
|
|
<div class="note-widget-title px-2 py-1">Note Sections</div>
|
|
<div class="note-widget-title px-2 py-1">Note Sections</div>
|
|
<input type="search" class="d-block w-100 border-0 outline-0 px-2 py-1"
|
|
<input type="search" class="d-block w-100 border-0 outline-0 px-2 py-1"
|
|
@@ -889,4 +892,5 @@
|
|
addMCInitializer('sections-widget', initSectionsWidget);
|
|
addMCInitializer('sections-widget', initSectionsWidget);
|
|
})();
|
|
})();
|
|
</script>
|
|
</script>
|
|
|
|
+ @endif
|
|
@endsection
|
|
@endsection
|