Procházet zdrojové kódy

Note sugg. mode - show original too

Vijayakrishnan před 3 roky
rodič
revize
4b4e5febba

+ 8 - 1
resources/views/app/patient/note/segment/suggestions_and_updates.blade.php

@@ -44,7 +44,14 @@
 </div>
 @if($segment->proposedSegmentSummarySuggestion && ($segment->proposedSegmentSummarySuggestion->status == 'PENDING' || $segment->proposedSegmentSummarySuggestion->status == 'REJECTED') )
     <div class=" m-2 p-2">
-        {!! $segment->proposedSegmentSummarySuggestion->summary_html !!}
+        <div class="d-flex align-items-start mb-2">
+            <b class="mr-2 width-70px">Original:</b>
+            <div class="border py-2 px-2 flex-grow-1 inline-html-container">{!! $segment->summary_html !!}</div>
+        </div>
+        <div class="d-flex align-items-start mb-2">
+            <b class="mr-2 width-70px">Proposed:</b>
+            <div class="border border-info py-2 px-2 flex-grow-1 inline-html-container">{!! $segment->proposedSegmentSummarySuggestion->summary_html !!}</div>
+        </div>
         @if($segment->proposedSegmentSummarySuggestion->status == 'REJECTED')
         <div class="alert alert-info">Your suggestion has been rejected.</div>
         @endif