unknown 4 роки тому
батько
коміт
d8684cd6ce

+ 20 - 3
resources/views/app/practice-management/patient-claim-summary.blade.php

@@ -14,16 +14,33 @@
                 <table class="table mb-0 table-sm table-bordered table-striped">
                     <tbody>
                     <tr>
-                        <th class="border-top-0 px-2 text-center">{{$notesTotal}}</th>
                         <th class="border-top-0 pl-2">Total notes</th>
+                        <td class="border-top-0 px-2 text-center">{{$notesTotal}}</td>
+                        <td></td>
                     </tr>
                     <tr>
-                        <th class="px-2 text-center">{{$notesTotalWithBillingClosed}}</th>
                         <th class="pl-2">Total notes with billing closed</th>
+                        <td class="px-2 text-center">{{$notesTotalWithBillingClosed}}</td>
+                        <td>
+                            <div class="d-flex align-items-center">
+                                <span class="fill-percent-value">{{round(($notesTotalWithBillingClosed) *100/ $notesTotal, 1)}}%</span>
+                                <div class="flex-grow-1 position-relative fill-bar">
+                                    <div class="bg-info position-absolute" style="left: 0; top: 0; height: 100%; width: {{ ($notesTotalWithBillingClosed) * 100/ $notesTotal }}%"></div>
+                                </div>
+                            </div>
+                        </td>
                     </tr>
                     <tr>
-                        <th class="px-2 text-center">{{$notesTotalWithClaimingClosed}}</th>
                         <th class="pl-2">Total notes with claiming closed</th>
+                        <td class="px-2 text-center">{{$notesTotalWithClaimingClosed}}</td>
+                        <td>
+                            <div class="d-flex align-items-center">
+                                <span class="fill-percent-value">{{round(($notesTotalWithClaimingClosed) *100/ $notesTotal, 1)}}%</span>
+                                <div class="flex-grow-1 position-relative fill-bar">
+                                    <div class="bg-info position-absolute" style="left: 0; top: 0; height: 100%; width: {{ ($notesTotalWithClaimingClosed) * 100/ $notesTotal }}%"></div>
+                                </div>
+                            </div>
+                        </td>
                     </tr>
                     </tbody>
                 </table>