瀏覽代碼

Billing manager - optimize row heights and show more per page

Vijayakrishnan 3 年之前
父節點
當前提交
20b7f6a3a1

+ 1 - 1
app/Http/Controllers/PracticeManagementController.php

@@ -797,7 +797,7 @@ class PracticeManagementController extends Controller
                 true);
         }
 
-        $notes = $notes->orderBy('effective_dateest', 'desc')->paginate(10);
+        $notes = $notes->orderBy('effective_dateest', 'desc')->paginate(20);
 
         return view('app.practice-management.billing-manager', compact('notes', 'allPros', 'expectedForHcp', 'targetPro', 'proUid', 'filters'));
     }

+ 3 - 0
public/css/style.css

@@ -1670,6 +1670,9 @@ th.only-screen, td.only-screen {
 .stag-table-container-lg>table{
     min-width: 1450px;
 }
+.stag-table-container.stag-table-container-no-x-scroll {
+    overflow-x: hidden !important;
+}
 
 .caremonth-measurements-calendar .fc-event.m-weight {
     background: #38908f;

+ 18 - 22
resources/views/app/practice-management/billing-manager.blade.php

@@ -84,7 +84,7 @@
             </div>
             @endif
             <div class="card-body p-0">
-                <div class="stag-table-container stag-table-container-lg">
+                <div class="stag-table-container stag-table-container-lg stag-table-container-no-x-scroll border-bottom">
                 <table class="table table-sm table-condensed p-0 m-0">
                     <thead class="bg-light">
                     <tr>
@@ -108,18 +108,18 @@
                                 <a {{ request()->input('popupmode') ? 'native target="_blank"' : '' }} href="/patients/view/{{ $note->client->uid }}">{{ $note->client->displayName() }}</a>
                             </td>
                             <td class="">
-                                <div class="font-weight-bold">{{ friendly_date_time($note->effective_dateest, false) }}</div>
-                                <a href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}?popupmode=1"
-                                   native target="_blank"
-                                   class="note-popup-trigger d-block text-nowrap mt-1">
-                                    <i class="fa fa-eye"></i>
-                                    View
-                                </a>
-                                <a {{ request()->input('popupmode') ? 'native target="_blank"' : '' }} href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}"
-                                   class="d-block text-nowrap mt-1">
-                                    <i class="fa fa-external-link-alt"></i>
-                                    Open
-                                </a>
+                                <div class="d-flex align-items-baseline">
+                                    <a {{ request()->input('popupmode') ? 'native target="_blank"' : '' }} href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}"
+                                       class="d-block text-nowrap mt-1 font-weight-bold">
+                                        {{ friendly_date_time($note->effective_dateest, false) }}
+                                    </a>
+                                    <a href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}?popupmode=1"
+                                       native target="_blank"
+                                       class="note-popup-trigger d-block text-nowrap mt-1 ml-3"
+                                       title="View in popup">
+                                        <i class="fa fa-eye"></i>
+                                    </a>
+                                </div>
                                 <span class="ml-1">{{ $note->is_cancelled ? '[cancelled]' : '' }}</span>
                             </td>
                             <td class="">
@@ -129,15 +129,11 @@
                             <td>{{$note->is_signed_by_hcp?'Yes':'No'}}</td>
                             @if($performer->pro->pro_type == 'ADMIN')
                                 <td>
-                                    <table class="table table-sm table-condensed table-stripe">
-                                        <tbody>
+                                    <div class="d-flex flex-wrap width-100px">
                                         @foreach($note->reasons as $reason)
-                                            <tr>
-                                                <td class="border-0"><span class="border-bottom c-pointer" title="{{$reason->description}}">{{$reason->code}}</span></td>
-                                            </tr>
+                                            <span class="border-bottom c-pointer mr-2 mb-1" title="{{$reason->description}}">{{$reason->code}}</span>
                                         @endforeach
-                                        </tbody>
-                                    </table>
+                                    </div>
                                 </td>
                             @endif
                             @if($performer->pro->pro_type == 'ADMIN')
@@ -222,10 +218,10 @@
                                                                 <b>{{$claim->primaryPayer ? $claim->primaryPayer->name : '-'}}</b>
                                                             </div>
 
-                                                            <div class="mt-1">
+<!--                                                            <div class="mt-1">
                                                                 <span class="text-secondary text-sm">Payer (2°): </span>
                                                                 <b>-</b>
-                                                            </div>
+                                                            </div>-->
 
                                                             <div class="mt-1">
                                                                 <span class="text-secondary text-sm">Company: </span>