Samson Mutunga 3 年之前
父节点
当前提交
2d2ec8677a

+ 11 - 11
resources/views/app/patient/dashboard.blade.php

@@ -543,32 +543,32 @@
                             @if($patient->memos && count($patient->memos))
                                 <thead class="bg-light">
                                 <tr class="text-nowrap">
-                                    <th class="px-2 text-secondary">Category</th>
-                                    <th class="px-2 text-secondary w-50">Summary</th>
-                                    <th class="px-2 text-secondary">Created</th>
+                                    <th class="border-0 text-secondary">Category</th>
+                                    <th class="border-0 text-secondary w-50">Summary</th>
+                                    <th class="border-0 text-secondary">Created</th>
                                     @if($performer->pro->pro_type === 'ADMIN')
-                                    <th class="px-2 text-secondary">Admins Only</th>
+                                    <th class="border-0 text-secondary">Admins Only</th>
                                     @endif
-                                    <th class="px-2 text-secondary">Ack. by MCP</th>
-                                    <th class="px-2 text-secondary delete-column">&nbsp;</th>
+                                    <th class="border-0 text-secondary">Ack. by MCP</th>
+                                    <th class="border-0 text-secondary delete-column">&nbsp;</th>
                                 </tr>
                                 </thead>
                                 <tbody>
                                 @foreach($patient->memos as $memo)
                                     @if(!$memo->is_admin_only || ($memo->is_admin_only && $performer->pro->pro_type === 'ADMIN') )
                                     <tr>
-                                        <td class="px-2 text-nowrap">{{ $memo->category }}</td>
+                                        <td class="text-nowrap">{{ $memo->category }}</td>
                                         <td class="px-2">
                                             <pre class="m-0 break-spaces">{{ $memo->content }}</pre>
                                         </td>
-                                        <td class="px-2 text-nowrap">
+                                        <td class="text-nowrap">
                                             @if($performer->pro->pro_type == 'ADMIN')
                                             <strong>{{$memo->createdBy->proname_first}} {{$memo->createdBy->pro->name_last}}</strong><br/>
                                             @endif
                                             {{ friendly_date_time($memo->created_at) }}
                                         </td>
                                         @if($performer->pro->pro_type === 'ADMIN' )
-                                        <td class="px-2 text-secondary">
+                                        <td class="text-secondary">
                                             @if($memo->is_admin_only)
                                                 <span class="text-success"><i class="fas fa-lock"></i> YES</span>
                                             @else
@@ -576,14 +576,14 @@
                                             @endif
                                         </td>
                                         @endif
-                                        <td class="px-2">
+                                        <td>
                                             @if($memo->mcp_stamp_id)
                                             <span class="text-success">YES <i class="fas fa-info-circle c-pointer" data-toggle="tooltip" data-placement="bottom" title="{{ friendly_date_time($memo->stamp->created_at) }}"></i></span>
                                             @else
                                             <span class="text-secondary">NO</span>
                                             @endif
                                         </td>
-                                        <td class="px-2 text-center delete-column">
+                                        <td class="text-center delete-column">
                                             @if($performer->pro->pro_type == 'ADMIN')
                                                 <div moe relative bottom class="mr-2">
                                                     <a start show><i class="fa fa-history"></i></a>

+ 5 - 0
resources/views/app/patient/documents.blade.php

@@ -322,6 +322,11 @@
                 </tr>
                 @endif
             @endforeach
+            @if(!count($patient->documents))
+                <tr>
+                    <td colspan="5">No records found.</td>
+                </tr>
+            @endif
             </tbody>
         </table>
     </div>

+ 5 - 0
resources/views/app/patient/incoming-reports.blade.php

@@ -108,6 +108,11 @@
                             <td>{{ $document->category }}{{ $document->subcategory ? ' / ' . $document->subcategory : '' }}</td>
                         </tr>
                     @endforeach
+                    @if(!count($patient->incomingReports))
+                        <tr>
+                            <td colspan="6">No records found.</td>
+                        </tr>
+                    @endif
                     </tbody>
                 </table>
             </div>

+ 5 - 0
resources/views/app/patient/measurement-confirmation-numbers.blade.php

@@ -100,6 +100,11 @@
                     </td>
                 </tr>
             @endforeach
+            @if(!count($patient->measurementConfirmationNumbers))
+                <tr>
+                    <td colspan="5">No records found.</td>
+                </tr>
+            @endif
             </tbody>
         </table>
     </div>

+ 1 - 1
resources/views/app/patient/partials/appointments.blade.php

@@ -1,6 +1,6 @@
 <div class="mt-0 pb-1">
     <div class="d-flex align-items-center mb-2 pt-2">
-        <h6 class="my-0 font-weight-bold text-secondary">Appointments</h6>
+        <h6 class="my-0 font-weight-bold font-size-16">Appointments</h6>
         <span class="mx-2 text-secondary">|</span>
         <a href="/patients/view/{{$patient->uid}}/calendar">Calendar</a>
     </div>

+ 5 - 0
resources/views/app/patient/sms-numbers.blade.php

@@ -52,6 +52,11 @@
                     </td>
                 </tr>
             @endforeach
+            @if(!count($patient->smsNumbers))
+                <tr>
+                    <td colspan="3">No records found.</td>
+                </tr>
+            @endif
             </tbody>
         </table>
     </div>

+ 5 - 0
resources/views/app/patient/sms-reminders.blade.php

@@ -223,6 +223,11 @@
                     </td>
                 </tr>
             @endforeach
+            @if(!count($patient->smsReminders))
+                <tr>
+                    <td colspan="5">No records found.</td>
+                </tr>
+            @endif
             </tbody>
         </table>
     </div>