Samson Mutunga 3 年之前
父節點
當前提交
ce0a3a3828

+ 5 - 3
resources/views/app/dna/appointments.blade.php

@@ -86,9 +86,11 @@
                 </tbody>
 
             </table>
-            <div class="ml-2 mt-2">
-                {{ $appointments->appends(request()->input())->links() }}
-            </div>
+            @if($appointments->hasPages())
+                <div class="ml-2 mt-2">
+                    {{ $appointments->appends(request()->input())->links() }}
+                </div>
+            @endif
         </div>
     </div>
 </div>

+ 5 - 3
resources/views/app/dna/care-months.blade.php

@@ -84,9 +84,11 @@
                 </tbody>
 
             </table>
-            <div class="ml-2 mt-2">
-                {{ $careMonths->appends(request()->input())->links() }}
-            </div>
+            @if($careMonths->hasPages())
+                <div class="ml-2 mt-2">
+                    {{ $careMonths->appends(request()->input())->links() }}
+                </div>
+            @endif
         </div>
     </div>
 </div>

+ 5 - 3
resources/views/app/dna/encounters.blade.php

@@ -81,9 +81,11 @@
                 </tbody>
 
             </table>
-            <div class="ml-2 mt-2">
-                {{ $notes->appends(request()->input())->links() }}
-            </div>
+            @if($notes->hasPages())
+                <div class="ml-2 mt-2">
+                    {{ $notes->appends(request()->input())->links() }}
+                </div>
+            @endif
         </div>
     </div>
 </div>

+ 5 - 3
resources/views/app/dna/financial-transactions.blade.php

@@ -52,9 +52,11 @@
                 </tbody>
 
             </table>
-            <div class="ml-2 mt-2">
-                {{ $financialTransactions->appends(request()->input())->links() }}
-            </div>
+            @if($financialTransactions->hasPages())
+                <div class="ml-2 mt-2">
+                    {{ $financialTransactions->appends(request()->input())->links() }}
+                </div>
+            @endif
         </div>
     </div>
 </div>

+ 5 - 3
resources/views/app/dna/my-bills.blade.php

@@ -70,9 +70,11 @@
                 </tbody>
 
             </table>
-            <div class="ml-2 mt-2">
-                {{ $bills->appends(request()->input())->links() }}
-            </div>
+            @if($bills->hasPages())
+                <div class="ml-2 mt-2">
+                    {{ $bills->appends(request()->input())->links() }}
+                </div>
+            @endif
         </div>
     </div>
 </div>

+ 15 - 11
resources/views/app/dna/my-clinical-teams.blade.php

@@ -15,14 +15,14 @@
             <div class="p-3">
                 <!-- Filters -->
             </div>
-            <table class="table table-condensed p-0 m-0">
-                <thead class="bg-light">
+            <table class="table table-sm table-striped p-0 m-0">
+                <thead class="bg-light border-top">
                     <tr>
-                        <th class="px-3 border-0">Name</th>
-                        <th class="px-3 border-0">Specialty</th>
-                        <th class="px-3 border-0"># My Patients Assigned</th>
-                        <th class="px-3 border-0">Upcoming Appts.</th>
-                        <th class="px-3 border-0">Public Appointment Page</th>
+                        <th class="border-0">Name</th>
+                        <th class="border-0">Specialty</th>
+                        <th class="border-0"># My Patients Assigned</th>
+                        <th class="border-0">Upcoming Appts.</th>
+                        <th class="border-0">Public Appointment Page</th>
                     </tr>
                 </thead>
                 <tbody>
@@ -32,7 +32,9 @@
                         <td></td>
                         <td></td>
                         <td></td>
-                        <td>{{ $team->slug }}</td>
+                        <td>
+                        <a native target="_blank" href="{{config('app.stagfe6_url') . '/' . $team->slug}}">{{ $team->slug }}</a>
+                        </td>
                     </tr>
                     @endforeach
 
@@ -44,9 +46,11 @@
                 </tbody>
 
             </table>
-            <div class="ml-2 mt-2">
-                {{ $teams->appends(request()->input())->links() }}
-            </div>
+            @if($teams->hasPages())
+                <div class="ml-2 mt-2">
+                    {{ $teams->appends(request()->input())->links() }}
+                </div>
+            @endif
         </div>
     </div>
 </div>