Ver código fonte

ICDs column in notes list

Vijayakrishnan 3 anos atrás
pai
commit
380a4670a9
1 arquivos alterados com 13 adições e 7 exclusões
  1. 13 7
      resources/views/app/patient/notes.blade.php

+ 13 - 7
resources/views/app/patient/notes.blade.php

@@ -161,7 +161,7 @@
                 <th class="border-0 text-secondary">NA</th>
             @endif
             <th class="border-0 text-secondary">HCP Signed</th>
-            <!-- <th class="border-0 text-secondary w-50">Content</th> -->
+            <th class="border-0 text-secondary">ICDs</th>
             <th class="border-0 text-secondary">&nbsp;</th>
             <th class="border-0 text-secondary">Actions</th>
         </tr>
@@ -211,12 +211,18 @@
                 <td>
                     {!! $note->hcpPro && $note->is_signed_by_hcp ? '<b class="text-success">Yes</b>' : 'No' !!}
                 </td>
-<?php /*
-                <td class="px-2 note-summary">
-                    <div class="note-section-content-html-outer">
-                        {!! $note->summary() !!}
-                    </div>
-                </td> */ ?>
+                <td class="max-width-200px">
+                    @if(count($note->reasons))
+                        @foreach ($note->reasons as $reason)
+                            <div class="mb-1">
+                                <b>{{ $reason->code }}</b>
+                                {{ $reason->description}}
+                            </div>
+                        @endforeach
+                    @else
+                        -
+                    @endif
+                </td>
                 <td>
                     <div class="position-relative c-pointer text-center stag-tooltip">
                         <i class="fa fa-info-circle"></i>