瀏覽代碼

Notes listing UI update

Vijayakrishnan 3 年之前
父節點
當前提交
5c9e8c1e97
共有 1 個文件被更改,包括 17 次插入9 次删除
  1. 17 9
      resources/views/app/patient/notes.blade.php

+ 17 - 9
resources/views/app/patient/notes.blade.php

@@ -51,7 +51,7 @@
                 </form>
             </div>
             <span class="mx-2 text-secondary">|</span>
-            <div moe>
+            <!--<div moe>
                 <a start show class="py-0 mb-3">Add (univ) *</a>
                 <form url="/api/note/createUsingTemplateWithPages"
                       redir="/patients/view/{{$patient->uid}}/notes/view/[data]"
@@ -99,7 +99,7 @@
                         <button submit class="btn btn-primary btn-sm">submit</button>
                     </div>
                 </form>
-            </div>
+            </div>-->
             <div moe>
                 <a start show class="py-0 mb-3">Add Visit</a>
                 <form url="/api/visit/create"
@@ -170,9 +170,12 @@
             <th class="px-2 text-secondary border-bottom-0">Effective Date</th>
             <th class="px-2 text-secondary border-bottom-0">New Patient / FU</th>
             @if($pro->pro_type == 'ADMIN')
-		<th class="px-2 text-secondary border-bottom-0">Method</th>
-	    @endif
+                <th class="px-2 text-secondary border-bottom-0">Method</th>
+            @endif
             <th class="px-2 text-secondary border-bottom-0">HCP</th>
+            @if($pro->pro_type == 'ADMIN')
+                <th class="px-2 text-secondary border-bottom-0">NA</th>
+            @endif
             <th class="px-2 text-secondary border-bottom-0">Signed</th>
             <!-- <th class="px-2 text-secondary border-bottom-0 w-50">Content</th> -->
             <th class="px-2 text-secondary border-bottom-0">&nbsp;</th>
@@ -205,14 +208,19 @@
                 <td class="px-2">
                     {{ $note->new_or_fu_or_na === 'NEW' ? 'New Patient' : $note->new_or_fu_or_na }}
                 </td>
-		@if($pro->pro_type == 'ADMIN')
-		<td class="px-2">
-		    {{ $note->method }}
-		</td>
-		@endif
+                @if($pro->pro_type == 'ADMIN')
+                    <td class="px-2">
+                        {{ $note->method }}
+                    </td>
+                @endif
                 <td class="px-2">
                     {{$note->hcpPro ? $note->hcpPro->name_display: '-'}}
                 </td>
+                @if($pro->pro_type == 'ADMIN')
+                <td class="px-2">
+                    {{$note->allyPro ? $note->allyPro->name_display: '-'}}
+                </td>
+                @endif
                 <td class="px-2">
                     {!! $note->hcpPro && $note->is_signed_by_hcp ? '<b class="text-success">Yes</b>' : 'No' !!}
                 </td>