Переглянути джерело

RPM manager - serial number column

Vijayakrishnan 2 роки тому
батько
коміт
4045b27453

+ 5 - 2
resources/views/app/practice-management/rpm-manager/index.blade.php

@@ -132,6 +132,7 @@
                                 <th class="border-top-0 border-bottom-0 border-left-0"></th>
                                 <th class="border-top-0 border-bottom-0"></th>
                                 <th class="border-top-0 border-bottom-0"></th>
+                                <th class="border-top-0 border-bottom-0"></th>
                                 <th class="border-top-0 border-bottom-0 rmgr-name-column"></th>
                                 <th class="border-top-0 border-bottom-0 rmgr-name-column"></th>
                                 <th class="border-top-0 border-bottom-0 rmgr-name-column"></th>
@@ -153,7 +154,8 @@
                                 <th class="border-top-0 border-bottom-0 border-right-0"></th>
                             </tr>
                             <tr>
-                                <th class="border-bottom-0 border-top border-left-0">Name</th>
+                                <th class="border-bottom-0 border-top border-left-0 text-right">#</th>
+                                <th class="border-bottom-0 border-top">Name</th>
                                 <th class="border-bottom-0 border-top">DOB</th>
                                 <th class="border-bottom-0 border-top">MCP</th>
                                 <th class="border-bottom-0 border-top">RMM</th>
@@ -215,10 +217,11 @@
                             <tbody>
                             <?php
                             $daysRemaining = date('t') - date('j');
+                            $index = $paginator->firstItem();
                             ?>
                             @foreach ($patients as $iPatient)
                                 <tr data-client-uid="{{$iPatient->client_uid}}" data-care-month-uid="{{$iPatient->care_month_uid}}">
-
+                                    <td class="text-right">{{$index++}}</td>
                                     <td class="border-left-0">
                                         <a href="/mc/patients/view/{{ $iPatient->client_uid }}"
                                            native target="_blank"