Explorar o código

Appointments & rpm matrix tables mcp

Samson Mutunga %!s(int64=3) %!d(string=hai) anos
pai
achega
10345c39ed

+ 16 - 15
resources/views/app/mcp/appointments.blade.php

@@ -15,37 +15,37 @@
             <div class="p-3">
                 @include('app.mcp.appointments_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">Date & Time</th>
-                        <th class="px-3 border-0">Patient</th>
-                        <th class="px-3 border-0">Title</th>
-                        <th class="px-3 border-0">Description</th>
-                        <th class="px-3 border-0">Status</th>
-                        <th class="px-3 border-0">Confirmation</th>
+                        <th class="border-0">Date & Time</th>
+                        <th class="border-0">Patient</th>
+                        <th class="border-0">Title</th>
+                        <th class="border-0">Description</th>
+                        <th class="border-0">Status</th>
+                        <th class="border-0">Confirmation</th>
                     </tr>
                 </thead>
                 <tbody>
                     @foreach($appointments as $appointment)
                     <tr>
-                        <td class="px-2">
+                        <td>
                             <a href="/patients/view/{{$appointment->client->uid}}/calendar/{{$appointment->uid}}" class="font-weight-bold text-nowrap">
                                 {{friendlier_date_time($appointment->raw_date . ' ' . $appointment->raw_start_time)}}
                             </a>
                         </td>
-                        <td class="px-2">{{ $appointment->client->displayName() }}</pre>
+                        <td>{{ $appointment->client->displayName() }}</pre>
                         </td>
-                        <td class="px-2">{{ $appointment->title }}</td>
-                        <td class="px-2">{{ $appointment->description }}</td>
-                        <td class="px-2">
+                        <td>{{ $appointment->title }}</td>
+                        <td>{{ $appointment->description }}</td>
+                        <td>
                             {{ $appointment->status }}
                             @if($appointment->status_memo)
                             <hr>
                             {{$appointment->status_memo}}
                             @endif
                         </td>
-                        <td class="px-2">
+                        <td>
                             @include('app.patient.partials.appointment-confirmation',['patient' => $appointment->client])
                         </td>
                     </tr>
@@ -57,11 +57,12 @@
                     </tr>
                     @endif
                 </tbody>
-
             </table>
+            @if($appointments->hasPages())
             <div class="ml-2 mt-2">
                 {{ $appointments->appends(request()->input())->links() }}
             </div>
+            @endif
         </div>
     </div>
 </div>

+ 17 - 17
resources/views/app/practice-management/rpm-matrix.blade.php

@@ -7,8 +7,8 @@
         }
     </style>
     <div class="p-3 mcp-theme-1">
-        <div class="card">
-            <div class="card-header p-3 d-flex align-items-center">
+        <div class="card border-left-0 border-right-0 border-bottom-0">
+            <div class="card-header border-left border-right border-bottom-0 py-1 px-2 d-flex align-items-center">
                 <strong class="mr-4">
                     <i class="fas fa-chart-bar"></i>
                     RPM Matrix
@@ -16,25 +16,25 @@
             </div>
 
             <div class="card-body p-0">
-                <table class="table table-bordered table-sm table-condensed p-0 m-0" style="">
+                <table class="table table-bordered table-sm table-striped p-0 m-0">
                     <thead class="bg-light">
                         <tr>
-                            <th>Chart #</th>
-                            <th>Name</th>
-                            <th>DOB</th>
+                            <th class="border-0">Chart #</th>
+                            <th class="border-0">Name</th>
+                            <th class="border-0">DOB</th>
                             @if($pro->pro_type == 'ADMIN')
-                            <th>MCP</th>
+                            <th class="border-0">MCP</th>
                             @endif
-                            <th>BP</th>
-                            <th> <i class="fa fa-heartbeat"></i> </th>
-                            <th>Pulse</th>
-                            <th>BP/Pulse Timestamp</th>
-                            <th>BP <i class="fa fa-car-battery"></i></th>
-                            <th>BP <i class="fa fa-broadcast-tower"></i></th>
-                            <th>Weight</th>
-                            <th>Weight Timestamp</th>
-                            <th>Scale <i class="fa fa-battery"></i></th>
-                            <th>Scale <i class="fa fa-broadcast-tower"></i></th>
+                            <th class="border-0">BP</th>
+                            <th class="border-0"> <i class="fa fa-heartbeat"></i> </th>
+                            <th class="border-0">Pulse</th>
+                            <th class="border-0">BP/Pulse Timestamp</th>
+                            <th class="border-0">BP <i class="fa fa-car-battery"></i></th>
+                            <th class="border-0">BP <i class="fa fa-broadcast-tower"></i></th>
+                            <th class="border-0">Weight</th>
+                            <th class="border-0">Weight Timestamp</th>
+                            <th class="border-0">Scale <i class="fa fa-battery"></i></th>
+                            <th class="border-0">Scale <i class="fa fa-broadcast-tower"></i></th>
                         </tr>
                     </thead>
                     <tbody>