Pārlūkot izejas kodu

Note UI updates

Vijayakrishnan 4 gadi atpakaļ
vecāks
revīzija
629a103233

+ 1 - 1
resources/views/app/patient/note/dashboard.blade.php

@@ -145,7 +145,7 @@
 
             <div class="px-2 border-right">
                 <div class="d-flex">
-                    <span class="mr-2"><span class="text-secondary">Type:</span> {{$note->new_or_fu_or_na ? $note->new_or_fu_or_na : '-'}}</span>
+                    <span class="mr-2"><span class="text-secondary">Type:</span> {{$note->new_or_fu_or_na ? ($note->new_or_fu_or_na === 'NEW' ? 'New Patient' : $note->new_or_fu_or_na) : '-'}}</span>
                     @if(!$note->is_signed_by_hcp)
                         <div moe class="ml-auto">
                             <a href="" show start><i class="fa fa-edit"></i></a>

+ 2 - 2
resources/views/app/patient/notes.blade.php

@@ -39,7 +39,7 @@
         <thead>
         <tr>
             <th class="px-2 text-secondary border-bottom-0">Effective Date</th>
-            <th class="px-2 text-secondary border-bottom-0">New / FU</th>
+            <th class="px-2 text-secondary border-bottom-0">New Patient / FU</th>
             <th class="px-2 text-secondary border-bottom-0">HCP</th>
             <th class="px-2 text-secondary border-bottom-0">Signed</th>
             <th class="px-2 text-secondary border-bottom-0 w-50">Content</th>
@@ -71,7 +71,7 @@
                     <span class="ml-1">{{ $note->is_cancelled ? '[cancelled]' : '' }}</span>
                 </td>
                 <td class="px-2">
-                    {{ $note->new_or_fu_or_na }}
+                    {{ $note->new_or_fu_or_na === 'NEW' ? 'New Patient' : $note->new_or_fu_or_na }}
                 </td>
                 <td class="px-2">
                     {{$note->hcpPro ? $note->hcpPro->name_display: '-'}}