Samson Mutunga 3 سال پیش
والد
کامیت
da38b1590c

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

@@ -6,7 +6,7 @@
 
         <div class="card">
 
-            <div class="card-header px-3 py-2 d-flex align-items-center">
+            <div class="card-header px-2 py-1 d-flex align-items-center">
                 <strong class="mr-4 font-size-14">
                     <i class="fas fa-user"></i>
                     Billing Manager
@@ -85,7 +85,7 @@
             @endif
             <div class="card-body p-0">
                 <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">
+                <table class="table table-sm table-striped p-0 m-0">
                     <thead class="bg-light">
                     <tr>
                         <th class="border-0">Patient</th>

+ 29 - 27
resources/views/app/practice-management/billing-report.blade.php

@@ -2,35 +2,35 @@
 
 @section('content')
 
-    <div id="practice-bills" class="p-3 mcp-theme-1">
+<div id="practice-bills" class="p-3 mcp-theme-1">
     <div class="card">
 
-        <div class="card-header px-3 py-2 d-flex align-items-center">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
             <strong class="mr-4">
                 <i class="fas fa-user"></i>
                 Note Billing Report
             </strong>
         </div>
         <div class="card-body p-0 border-0 table-responsive">
-            <table class="table table-sm table-condensed table-bordered border-0 p-0 m-0">
+            <table class="table table-sm table-striped border-0 p-0 m-0 text-nowrap">
                 <thead class="bg-light">
-                <tr>
-                    <th>Patient</th>
-                    <th>Note</th>
-                    <th>Pro</th>
-                    <th>Date</th>
-                    <th>New/FU</th>
-                    <th>Method</th>
-                    <th>Billing Closed?</th>
-                    <th>Claiming Closed?</th>
-                    <th>Claims</th>
-                    <th>Bills</th>
-                    <th>ICDs</th>
-                    <th>Status</th>
-                </tr>
+                    <tr>
+                        <th>Patient</th>
+                        <th>Note</th>
+                        <th>Pro</th>
+                        <th>Date</th>
+                        <th>New/FU</th>
+                        <th>Method</th>
+                        <th>Billing Closed?</th>
+                        <th>Claiming Closed?</th>
+                        <th>Claims</th>
+                        <th>Bills</th>
+                        <th>ICDs</th>
+                        <th>Status</th>
+                    </tr>
                 </thead>
                 <tbody>
-                @foreach ($rows as $row)
+                    @foreach ($rows as $row)
                     <tr class="{{false ? 'bg-light' : ''}}">
                         <td class="text-nowrap border-left-0">
                             <a href="/patients/view/{{$row->client_uid}}">
@@ -71,20 +71,22 @@
                         </td>
                         <td class="text-nowrap border-left-0">
                             @foreach($row->note->claims as $claim)
-                                {{ $claim->status }}<br/>
-				                <?php foreach($claim->mbClaims as $mbClaim ): continue; ?>
-                                    {{$mbClaim->status}} {{$mbClaim->status_memo}}
-                               	<?php endforeach; ?>
+                            {{ $claim->status }}<br />
+                            <?php foreach ($claim->mbClaims as $mbClaim) : continue; ?>
+                                {{$mbClaim->status}} {{$mbClaim->status_memo}}
+                            <?php endforeach; ?>
                             @endforeach
                         </td>
                     </tr>
-                @endforeach
+                    @endforeach
                 </tbody>
             </table>
-            <div>
-                {{$rows->links()}}
-            </div>
+
         </div>
     </div>
+    <div class="mt-3">
+        {{$rows->links()}}
     </div>
-@endsection
+
+</div>
+@endsection

+ 2 - 2
resources/views/app/practice-management/bills.blade.php

@@ -5,7 +5,7 @@
     <div class="p-3 mcp-theme-1">
     <div class="card">
 
-        <div class="card-header px-3 py-2 d-flex align-items-center">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
             <strong class="mr-4">
                 <i class="fas fa-user"></i>
                 Bills
@@ -18,7 +18,7 @@
         </div>
         <div class="card-body p-0">
 
-            <table class="table table-sm table-condensed p-0 m-0">
+            <table class="table table-sm table-striped p-0 m-0">
                 <thead class="bg-light">
                 <tr>
                     <th class="px-3 border-0">Created</th>

+ 3 - 3
resources/views/app/practice-management/care-month-report.blade.php

@@ -4,18 +4,18 @@
     <div id="care-month-report" class="p-3 mcp-theme-1">
         <div class="card">
 
-            <div class="card-header px-3 py-2 d-flex align-items-center">
+            <div class="card-header px-2 py-1 d-flex align-items-center">
                 <strong class="mr-4">
                     <i class="fas fa-user"></i>
                     Care Month Report: {{date('M Y', strtotime($date))}}
                 </strong>
                 <div class="ml-auto">
-                    <input type="month" value="{{substr($date, 0, 7)}}" max="{{substr(date('Y-m-d'), 0, 7)}}" onchange="if(this.value){fastLoad('/pro-care-month-report?m=' + this.value.split('-')[1] + '&y=' + this.value.split('-')[0])}">
+                    <input class="form-control" type="month" value="{{substr($date, 0, 7)}}" max="{{substr(date('Y-m-d'), 0, 7)}}" onchange="if(this.value){fastLoad('/pro-care-month-report?m=' + this.value.split('-')[1] + '&y=' + this.value.split('-')[0])}">
                 </div>
             </div>
 
             <div class="card-body p-0 border-0">
-                <table class="table table-sm table-condensed p-0 m-0">
+                <table class="table table-sm table-striped p-0 m-0">
                     <thead class="bg-light">
                     <tr>
                         <th>Patient</th>

+ 1 - 1
resources/views/app/practice-management/cellular-measurements.blade.php

@@ -6,7 +6,7 @@
 
         <div class="card">
             <div class="card-body p-0">
-                <table class="table table-sm table-condensed p-0 m-0">
+                <table class="table table-sm table-striped p-0 m-0">
                     <thead class="bg-light">
                     <tr>
                         <th class="border-0">ID</th>

+ 2 - 2
resources/views/app/practice-management/financial-transactions.blade.php

@@ -3,7 +3,7 @@
 @section('content')
     <div class="p-3 mcp-theme-1">
         <div class="card">
-            <div class="card-header p-3 d-flex align-items-center">
+            <div class="card-header px-2 py-1 d-flex align-items-center">
                 <strong class="mr-4">
                     <i class="fas fa-user"></i>
                     Financial Transactions
@@ -68,7 +68,7 @@
                 </div>
             </div>
             <div class="card-body p-0">
-                <table class="table table-sm table-condensed p-0 m-0">
+                <table class="table table-sm table-striped p-0 m-0">
                     <thead class="bg-light">
                         <tr>
                             <th class="px-3 border-0">Date</th>

+ 2 - 2
resources/views/app/practice-management/my-favorites.blade.php

@@ -5,7 +5,7 @@
     <div class="p-3 mcp-theme-1">
     <div class="card">
 
-        <div class="card-header px-3 py-2 d-flex align-items-center">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
             <strong class="">
                 <i class="fas fa-user"></i>
                 Favorites
@@ -22,7 +22,7 @@
             </select>
         </div>
         <div class="card-body p-0">
-            <table class="table table-sm table-condensed p-0 m-0">
+            <table class="table table-sm table-striped p-0 m-0">
                 <thead class="bg-light">
                 <tr>
                     <th class="px-3 border-0 width-100px">Category</th>

+ 2 - 2
resources/views/app/practice-management/my-text-shortcuts.blade.php

@@ -5,7 +5,7 @@
 <div class="p-3 mcp-theme-1">
     <div class="card">
 
-        <div class="card-header px-3 py-2 d-flex align-items-center">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
             <strong class="">
                 <i class="fas fa-user"></i>
                 Text Shortcuts
@@ -45,7 +45,7 @@
                     </div>
                 </div>
                 @if($personalShortcuts && count($personalShortcuts))
-                    <table class="table table-condensed table-hover table-bordered p-0 m-0">
+                    <table class="table table-sm table-striped table-hover table-bordered p-0 m-0">
                         <thead class="bg-light">
                         <tr>
                             <th class="px-3 border-0 width-200px">Pro</th>

+ 4 - 4
resources/views/app/practice-management/my-tickets.blade.php

@@ -5,7 +5,7 @@
     <div class="p-3 mcp-theme-1">
     <div class="card">
 
-        <div class="card-header px-3 py-2 d-flex align-items-center">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
             <strong class="">
                 <i class="fas fa-user"></i>
                 My Tickets
@@ -18,7 +18,7 @@
             </select>
         </div>
         <div class="card-body p-0">
-            <table class="table table-condensed p-0 m-0">
+            <table class="table table-sm table-striped p-0 m-0">
                 <thead class="bg-light">
                 <tr>
                     <th class="border-0">Patient</th>
@@ -32,7 +32,7 @@
                 @foreach($myTickets as $ticket)
                     <tr>
                         <td class="text-nowrap">
-                            <a class="font-weight-bold" href="/patients/view/{{ $ticket->patient->uid }}">{{ $ticket->patient->displayName() }}</a>
+                            <a href="/patients/view/{{ $ticket->patient->uid }}">{{ $ticket->patient->displayName() }}</a>
                         </td>
                         <td>{{ strtoupper($ticket->category) }}</td>
                         <td>
@@ -78,7 +78,7 @@
                             {{ $roles }}
                         </td>
                         <td>
-                            <a class="font-weight-bold" href="/patients/view/{{ $ticket->patient->uid }}/action-items-{{ $ticket->category }}/view/{{ $ticket->uid }}">Open</a>
+                            <a href="/patients/view/{{ $ticket->patient->uid }}/action-items-{{ $ticket->category }}/view/{{ $ticket->uid }}">Open</a>
                         </td>
                     </tr>
                 @endforeach

+ 3 - 3
resources/views/app/practice-management/notes.blade.php

@@ -5,7 +5,7 @@
     <div class="p-3 mcp-theme-1">
     <div class="card">
 
-        <div class="card-header px-3 py-2 d-flex align-items-center">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
             <strong class="mr-4">
                 <i class="fas fa-user"></i>
                 Notes
@@ -18,7 +18,7 @@
         </div>
         <div class="card-body p-0">
 
-            <table class="table table-sm table-condensed p-0 m-0">
+            <table class="table table-sm table-striped p-0 m-0">
                 <thead class="bg-light">
                 <tr>
                     <th class="px-3 border-0">Created</th>
@@ -34,7 +34,7 @@
                             {{ friendly_date_time($note->created_at, true) }}
                         </td>
                         <td class="">
-                            <a href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}" class="font-weight-bold">
+                            <a href="/patients/view/{{ $note->client->uid }}/notes/view/{{ $note->uid }}">
                                 {{ friendly_date_time($note->effective_dateest, false) }}
                             </a>
                             <span class="ml-1">{{ $note->is_cancelled ? '[cancelled]' : '' }}</span>

+ 1 - 1
resources/views/app/practice-management/pro-availability.blade.php

@@ -582,7 +582,7 @@
         </div>
         <div class="col-md-6">
             <div class="card">
-                <div class="card-header px-3 py-2 d-flex align-items-center">
+                <div class="card-header px-3 py-1 d-flex align-items-center">
                     <strong class="">
                         <i class="fas fa-user"></i>
                         Pro Availability

+ 3 - 3
resources/views/app/practice-management/pro-financials.blade.php

@@ -6,7 +6,7 @@
 
         <div class="card">
 
-            <div class="card-header px-3 py-2 d-flex align-items-center">
+            <div class="card-header px-2 py-1 d-flex align-items-center">
                 <strong class="text-nowrap">
                     <i class="fas fa-user"></i>
                     Pro Financials
@@ -24,7 +24,7 @@
                 @endif
             </div>
             <div class="card-body p-0">
-                <table class="table table-sm table-condensed table-hover p-0 m-0">
+                <table class="table table-sm table-striped table-hover p-0 m-0">
                     <thead class="bg-light">
                     <tr>
                         <th>Pro</th>
@@ -97,7 +97,7 @@
                                     </div>
                                     
                                 </div>
-                                <table class="table table-sm">
+                                <table class="table table-sm table-striped">
                                     <thead>
                                         <tr>
                                             <th>Bill Amount</th>

+ 207 - 217
resources/views/app/practice-management/processing-bill-matrix.blade.php

@@ -2,294 +2,284 @@
 
 @section('content')
 
-    <div class="p-3 mcp-theme-1" id="processing-bill-matrix">
+<div class="p-3 mcp-theme-1" id="processing-bill-matrix">
 
-        <div class="card">
+    <div class="card">
 
-            <div class="card-header px-3 py-2">
-                <div class="font-weight-bold text-nowrap mb-2">
-                    <i class="fas fa-user"></i>
-                    Processing Bills
-                </div>
-                <div class="d-flex align-items-center mb-2">
-                    <div class="width-200px">
-                        <select provider-search data-pro-uid="{{ @$targetPro->uid }}"
-                                name="proUid" class="form-control form-control-sm mr-auto width-200px min-width-unset"
-                                onchange="return billsFilter('', this.value, true)">
-                            <option value="" {{!@$targetPro ? 'selected' : ''}}>All Pros</option>
-                        </select>
-                    </div>
-                    <div class="width-300px ml-2 d-inline-flex">
-                        <select name="filter" class="form-control form-control-sm min-width-unset flex-grow-1"
-                                onchange="return billsFilter('f', this.value)">
-                            <option {{request()->input('f') === '' ? 'selected' : ''}} value="">All Bills</option>
-                            <option {{request()->input('f') === 'verified' ? 'selected' : ''}} value="verified">Verified
-                                Only
-                            </option>
-                            <option {{request()->input('f') === 'not-verified' ? 'selected' : ''}} value="not-verified">Not
-                                Verified Only
-                            </option>
-                        </select>
-                        <select name="filter" class="form-control form-control-sm min-width-unset flex-grow-1 ml-2"
-                                onchange="return billsFilter('t', this.value)">
-                            <option {{!request()->input('t') || request()->input('t') === 'hcp' ? 'selected' : ''}} value="hcp">
-                                HCP Bills
-                            </option>
-                            <option {{request()->input('t') === 'na' ? 'selected' : ''}} value="na">NA Bills</option>
-                        </select>
-                    </div>
-                    <div class="ml-4 d-inline-flex align-items-center">
-                        <span class="mr-2">Bal Post Date</span>
-                        <input type="date"
-                               value="{{request()->input('bs')}}"
-                               onchange="return billsFilter('bs', this.value)"
-                               class="form-control form-control-sm width-150px" name="bpdFrom">
-                        <span class="mx-2">to</span>
-                        <input type="date"
-                               value="{{request()->input('be')}}"
-                               onchange="return billsFilter('be', this.value)"
-                               class="form-control form-control-sm width-150px" name="bpdTo">
-                    </div>
-                    <button class="ml-auto btn btn-sm btn-primary pay-selected-pros px-3 font-weight-bold" disabled>Pay Selected</button>
+        <div class="card-header px-2 py-1">
+            <div class="font-weight-bold text-nowrap mb-2">
+                <i class="fas fa-user"></i>
+                Processing Bills
+            </div>
+            <div class="d-flex align-items-center mb-2">
+                <div class="width-200px">
+                    <select provider-search data-pro-uid="{{ @$targetPro->uid }}" name="proUid" class="form-control form-control-sm mr-auto width-200px min-width-unset" onchange="return billsFilter('', this.value, true)">
+                        <option value="" {{!@$targetPro ? 'selected' : ''}}>All Pros</option>
+                    </select>
                 </div>
-                <div class="d-flex align-items-center">
-                    <select name="filter" class="form-control form-control-sm width-200px"
-                            onchange="return billsFilter('c', this.value)">
-                        <option {{!request()->input('c') ? 'selected' : ''}} value="">All Companies</option>
-                        @foreach($companies as $company)
-                            <option {{request()->input('c') == $company->id ? 'selected' : ''}}
-                                    value="{{$company->id}}">
-                                {{$company->name}}
-                            </option>
-                        @endforeach
+                <div class="width-300px ml-2 d-inline-flex">
+                    <select name="filter" class="form-control form-control-sm min-width-unset flex-grow-1" onchange="return billsFilter('f', this.value)">
+                        <option {{request()->input('f') === '' ? 'selected' : ''}} value="">All Bills</option>
+                        <option {{request()->input('f') === 'verified' ? 'selected' : ''}} value="verified">Verified
+                            Only
+                        </option>
+                        <option {{request()->input('f') === 'not-verified' ? 'selected' : ''}} value="not-verified">Not
+                            Verified Only
+                        </option>
                     </select>
-                    <select name="filter" class="form-control form-control-sm width-300px ml-2 "
-                            onchange="return billsFilter('s', this.value)">
-                        <option {{!request()->input('s') ? 'selected' : ''}} value="">All Services</option>
-                        @foreach($codes as $code)
-                            <option {{request()->input('s') == $code->code ? 'selected' : ''}}
-                                    value="{{$code->code}}">
-                                {{$code->code}}
-                            </option>
-                        @endforeach
+                    <select name="filter" class="form-control form-control-sm min-width-unset flex-grow-1 ml-2" onchange="return billsFilter('t', this.value)">
+                        <option {{!request()->input('t') || request()->input('t') === 'hcp' ? 'selected' : ''}} value="hcp">
+                            HCP Bills
+                        </option>
+                        <option {{request()->input('t') === 'na' ? 'selected' : ''}} value="na">NA Bills</option>
                     </select>
-                    @if(@$targetPro || count(array_filter(request()->all(), function($_x) { return !!$_x && $_x !== 'na' && $_x !== 'hcp';})))
-                        <a href="/practice-management/processing-bill-matrix" class="ml-4">Clear Filters</a>
-                    @endif
                 </div>
+                <div class="ml-4 d-inline-flex align-items-center">
+                    <span class="mr-2">Bal Post Date</span>
+                    <input type="date" value="{{request()->input('bs')}}" onchange="return billsFilter('bs', this.value)" class="form-control form-control-sm width-150px" name="bpdFrom">
+                    <span class="mx-2">to</span>
+                    <input type="date" value="{{request()->input('be')}}" onchange="return billsFilter('be', this.value)" class="form-control form-control-sm width-150px" name="bpdTo">
+                </div>
+                <button class="ml-auto btn btn-sm btn-primary pay-selected-pros px-3 font-weight-bold" disabled>Pay Selected</button>
             </div>
-            <div class="card-body p-0">
-                <table class="table table-sm table-condensed table-hover p-0 m-0">
+            <div class="d-flex align-items-center">
+                <select name="filter" class="form-control form-control-sm width-200px" onchange="return billsFilter('c', this.value)">
+                    <option {{!request()->input('c') ? 'selected' : ''}} value="">All Companies</option>
+                    @foreach($companies as $company)
+                    <option {{request()->input('c') == $company->id ? 'selected' : ''}} value="{{$company->id}}">
+                        {{$company->name}}
+                    </option>
+                    @endforeach
+                </select>
+                <select name="filter" class="form-control form-control-sm width-300px ml-2 " onchange="return billsFilter('s', this.value)">
+                    <option {{!request()->input('s') ? 'selected' : ''}} value="">All Services</option>
+                    @foreach($codes as $code)
+                    <option {{request()->input('s') == $code->code ? 'selected' : ''}} value="{{$code->code}}">
+                        {{$code->code}}
+                    </option>
+                    @endforeach
+                </select>
+                @if(@$targetPro || count(array_filter(request()->all(), function($_x) { return !!$_x && $_x !== 'na' && $_x !== 'hcp';})))
+                <a href="/practice-management/processing-bill-matrix" class="ml-4">Clear Filters</a>
+                @endif
+            </div>
+        </div>
+        <div class="card-body p-0">
+            <div class="table-responsive">
+                <table class="table table-sm table-striped table-hover p-0 m-0">
                     <thead class="bg-light">
-                    <tr>
-                        <th class="border-bottom-0 border-top-0">
-                            <label class="d-flex align-items-center m-0">
-                                <input type="checkbox" class="chk-all-bills" /> <span class="ml-2">All</span>
-                            </label>
-                        </th>
-                        <th class="border-bottom-0 border-top-0">Context</th>
-                        <th class="border-bottom-0 border-top-0">Effective Date</th>
-                        <th class="border-bottom-0 border-top-0">Bal Post Date</th>
-                        @if(!request()->input('t') || request()->input('t') === 'hcp')
+                        <tr>
+                            <th class="border-bottom-0 border-top-0">
+                                <label class="d-flex align-items-center m-0">
+                                    <input type="checkbox" class="chk-all-bills" /> <span class="ml-2">All</span>
+                                </label>
+                            </th>
+                            <th class="border-bottom-0 border-top-0">Context</th>
+                            <th class="border-bottom-0 border-top-0">Effective Date</th>
+                            <th class="border-bottom-0 border-top-0">Bal Post Date</th>
+                            @if(!request()->input('t') || request()->input('t') === 'hcp')
                             <th class="border-bottom-0 border-top-0">HCP Pro</th>
-                        @elseif(request()->input('t') === 'na')
+                            @elseif(request()->input('t') === 'na')
                             <th class="border-bottom-0 border-top-0">NA Pro</th>
-                        @endif
-                        <th class="border-bottom-0 border-top-0">Client</th>
-                        <th class="border-bottom-0 border-top-0">Code</th>
-                        <th class="border-bottom-0 border-top-0">Units</th>
-                        <th class="border-bottom-0 border-top-0">Verified?</th>
-                        @if(!request()->input('t') || request()->input('t') === 'hcp')
+                            @endif
+                            <th class="border-bottom-0 border-top-0">Client</th>
+                            <th class="border-bottom-0 border-top-0">Code</th>
+                            <th class="border-bottom-0 border-top-0">Units</th>
+                            <th class="border-bottom-0 border-top-0">Verified?</th>
+                            @if(!request()->input('t') || request()->input('t') === 'hcp')
                             <th class="border-bottom-0 border-top-0">HCP Expected Amount</th>
-                        @elseif(request()->input('t') === 'na')
+                            @elseif(request()->input('t') === 'na')
                             <th class="border-bottom-0 border-top-0">NA Expected Amount</th>
-                        @endif
-                        <th class="border-bottom-0 border-top-0">Pro Signed?</th>
-                        <th class="border-bottom-0 border-top-0"></th>
-                    </tr>
+                            @endif
+                            <th class="border-bottom-0 border-top-0">Pro Signed?</th>
+                            <th class="border-bottom-0 border-top-0"></th>
+                        </tr>
                     </thead>
                     <tbody>
-                    @foreach ($bills as $row)
+                        @foreach ($bills as $row)
                         <tr>
                             <td class="align-top">
                                 @if($row->is_verified)
-                                    <input type="checkbox" data-uid="{{$row->uid}}" class="chk-bill align-middle" />
+                                <input type="checkbox" data-uid="{{$row->uid}}" class="chk-bill align-middle" />
                                 @endif
                             </td>
                             <td>
                                 @if($row->note)
-                                    <a href="/patients/view/{{ $row->client->uid }}/notes/view/{{ $row->note->uid }}">
-                                        Note
-                                    </a>
+                                <a href="/patients/view/{{ $row->client->uid }}/notes/view/{{ $row->note->uid }}">
+                                    Note
+                                </a>
                                 @elseif($row->careMonth)
-                                    <a href="/patients/view/{{$row->client->uid}}/care-months/view/{{$row->careMonth->uid}}">
-                                        Care Month
-                                    </a>
+                                <a href="/patients/view/{{$row->client->uid}}/care-months/view/{{$row->careMonth->uid}}">
+                                    Care Month
+                                </a>
                                 @elseif($row->client)
-                                    <a href="/patients/view/{{ $row->client->uid }}">
-                                        Chart
-                                    </a>
+                                <a href="/patients/view/{{ $row->client->uid }}">
+                                    Chart
+                                </a>
                                 @else
-                                    Generic
+                                Generic
                                 @endif
                             </td>
                             <td>{{friendly_date($row->effective_date)}}</td>
                             <td>{{friendly_date($row->balance_post_date)}}</td>
                             <td>
                                 @if(!request()->input('t') || request()->input('t') === 'hcp')
-                                    {{$row->hcp->name_last}}, {{$row->hcp->name_first}}
-                                    <div class="mt-1 text-sm text-secondary font-weight-bold">
-                                        <i class="fa fa-hospital mr-1"></i>
-                                        {{$row->hcpCompany? $row->hcpCompanyPro->company->name:''}}
-                                    </div>
+                                {{$row->hcp->name_last}}, {{$row->hcp->name_first}}
+                                <div class="mt-1 text-sm text-secondary">
+                                    <i class="fa fa-hospital mr-1"></i>
+                                    {{$row->hcpCompany? $row->hcpCompanyPro->company->name:''}}
+                                </div>
                                 @elseif(request()->input('t') === 'na')
-                                    {{$row->genericPro->name_last}}, {{$row->genericPro->name_first}}
-                                    <div class="mt-1 text-sm text-secondary font-weight-bold">
-                                        <i class="fa fa-hospital mr-1"></i>
-                                        {{$row->genericCompanyPro->company->name}}
-                                    </div>
+                                {{$row->genericPro->name_last}}, {{$row->genericPro->name_first}}
+                                <div class="mt-1 text-sm text-secondary">
+                                    <i class="fa fa-hospital mr-1"></i>
+                                    {{$row->genericCompanyPro->company->name}}
+                                </div>
                                 @endif
 
                             </td>
                             <td>
                                 @if($row->client)
-                                    {{$row->client->name_last}}, {{$row->client->name_first}}
+                                {{$row->client->name_last}}, {{$row->client->name_first}}
                                 @endif
                             </td>
                             <td>{{$row->code}}
                                 @if($row->generic_target_entity_type && $row->generic_target_entity_uid)
-                                    <div class="mt-1 text-sm text-secondary font-weight-bold">{{$row->generic_target_entity_type}}</div>
+                                <div class="mt-1 text-sm text-secondary">{{$row->generic_target_entity_type}}</div>
                                 @endif
                             </td>
                             <td>{{str_contains($row->code, 'Treatment Services') || str_contains($row->code, 'Administrative Services') ? ceil((float) $row->number_of_units * 60) . ' mins' : $row->number_of_units}}</td>
                             <td>{!! $row->is_verified ? 'Yes<br>' . friendly_date($row->marked_verified_at, true) : 'No' !!} </td>
                             @if(!request()->input('t') || request()->input('t') === 'hcp')
-                                <td><b>${{$row->hcp_expected_payment_amount}}</b></td>
+                            <td>${{$row->hcp_expected_payment_amount}}</td>
                             @elseif(request()->input('t') === 'na')
-                                <td><b>${{number_format($row->generic_pro_expected_payment_amount, 2)}}</b></td>
+                            <td>${{number_format($row->generic_pro_expected_payment_amount, 2)}}</td>
                             @endif
                             @if(!request()->input('t') || request()->input('t') === 'hcp')
-                                <td>{{$row->is_signed_by_hcp ? 'Yes' : 'No'}}</td>
+                            <td>{{$row->is_signed_by_hcp ? 'Yes' : 'No'}}</td>
                             @elseif(request()->input('t') === 'na')
-                                <td>{{$row->is_signed_by_generic_pro ? 'Yes' : 'No'}}</td>
+                            <td>{{$row->is_signed_by_generic_pro ? 'Yes' : 'No'}}</td>
                             @endif
                             <td>
                                 @if($row->is_verified)
-                                    <a href="#" data-uid="{{$row->uid}}" class="pay-bill font-weight-bold">Pay</a>
+                                <a href="#" data-uid="{{$row->uid}}" class="pay-bill">Pay</a>
                                 @endif
                             </td>
                         </tr>
-                    @endforeach
+                        @endforeach
                     </tbody>
                 </table>
             </div>
         </div>
-        <div class="mt-3">
-            {{$bills->withQueryString()->links()}}
-        </div>
     </div>
-    <script>
-        (function() {
-            window.billsFilter = function(_key, _value, _isClient = false) {
+    <div class="mt-3">
+        {{$bills->withQueryString()->links()}}
+    </div>
+</div>
+<script>
+    (function() {
+        window.billsFilter = function(_key, _value, _isClient = false) {
 
-                <?php
-                $keys = ['f', 'bs', 'be', 't', 'c', 's'];
-                $currentParams = [];
-                for($i = 0; $i < count($keys); $i++) {
-                    if(!!request()->input($keys[$i])) {
-                        $currentParams[$keys[$i]] = request()->input($keys[$i]);
-                    }
+            <?php
+            $keys = ['f', 'bs', 'be', 't', 'c', 's'];
+            $currentParams = [];
+            for ($i = 0; $i < count($keys); $i++) {
+                if (!!request()->input($keys[$i])) {
+                    $currentParams[$keys[$i]] = request()->input($keys[$i]);
                 }
-                ?>
+            }
+            ?>
 
-                let targetProUid = _isClient ? _value : $('[provider-search]').attr('data-pro-uid'),
-                    base = '/practice-management/processing-bill-matrix' + (targetProUid ? '/' + targetProUid : ''),
-                    keys = ['f', 'bs', 'be', 't', 'c', 's'].filter(_x => _x !== _key),
-                    currentParams = {!! json_encode($currentParams) !!},
-                    url = [];
+            let targetProUid = _isClient ? _value : $('[provider-search]').attr('data-pro-uid'),
+                base = '/practice-management/processing-bill-matrix' + (targetProUid ? '/' + targetProUid : ''),
+                keys = ['f', 'bs', 'be', 't', 'c', 's'].filter(_x => _x !== _key),
+                currentParams = {
+                    !!json_encode($currentParams) !!
+                },
+                url = [];
 
-                // base
-                url.push(base);
-                url.push('?');
+            // base
+            url.push(base);
+            url.push('?');
 
-                // params
-                let getParams = [];
-                for (let i = 0; i < keys.length; i++) {
-                    if(currentParams[keys[i]]) {
-                        getParams.push(keys[i] + '=' + encodeURIComponent(currentParams[keys[i]]));
-                    }
+            // params
+            let getParams = [];
+            for (let i = 0; i < keys.length; i++) {
+                if (currentParams[keys[i]]) {
+                    getParams.push(keys[i] + '=' + encodeURIComponent(currentParams[keys[i]]));
                 }
+            }
 
-                // new params
-                getParams.push(_key + '=' + encodeURIComponent(_value));
+            // new params
+            getParams.push(_key + '=' + encodeURIComponent(_value));
 
-                // generate url
-                url.push(getParams.join('&'));
+            // generate url
+            url.push(getParams.join('&'));
 
-                // go
-                fastLoad(url.join(''));
+            // go
+            fastLoad(url.join(''));
 
-                return false;
-            };
+            return false;
+        };
 
-            function init() {
-                $('.pay-bill')
-                    .off('click')
-                    .on('click', function () {
-                        showMask();
-                        $.post('/api/bill/payUnpaidProsOnBillExpectedAmount', {
-                            uid: $(this).attr('data-uid')
-                        }, _data => {
-                            if(!hasResponseError(_data)) {
-                                toastr.success('Bill paid successfully');
-                                fastReload();
-                            }
-                        }).then(function() {
-                            hideMask();
-                        });
-                        return false;
-                    });
-                $('.pay-selected-pros')
-                    .off('click')
-                    .on('click', function () {
-                        if(!$('.chk-bill:checked').length) return false;
-                        showMask();
-                        let uids = [];
-                        $('.chk-bill:checked').each(function() {
-                            uids.push($(this).attr('data-uid'));
-                        });
-                        $.post('/api/bill/bulkPayUnpaidProsOnBillExpectedAmount', {
-                            billUids: uids.join('|')
-                        }, _data => {
-                            if(!hasResponseError(_data)) {
-                                toastr.success('Selected bills paid successfully');
-                                fastReload();
-                            }
-                        }).then(function() {
-                            hideMask();
-                        });
-                        return false;
+        function init() {
+            $('.pay-bill')
+                .off('click')
+                .on('click', function() {
+                    showMask();
+                    $.post('/api/bill/payUnpaidProsOnBillExpectedAmount', {
+                        uid: $(this).attr('data-uid')
+                    }, _data => {
+                        if (!hasResponseError(_data)) {
+                            toastr.success('Bill paid successfully');
+                            fastReload();
+                        }
+                    }).then(function() {
+                        hideMask();
                     });
-                $('.chk-bill')
-                    .off('change')
-                    .on('change', function() {
-                        console.log('123')
-                         $('.pay-selected-pros').prop('disabled', !$('.chk-bill:checked').length);
-                         $('.chk-all-bills').prop('checked', ($('.chk-bill:checked').length === $('.chk-bill').length));
-                         return false;
+                    return false;
+                });
+            $('.pay-selected-pros')
+                .off('click')
+                .on('click', function() {
+                    if (!$('.chk-bill:checked').length) return false;
+                    showMask();
+                    let uids = [];
+                    $('.chk-bill:checked').each(function() {
+                        uids.push($(this).attr('data-uid'));
                     });
-                $('.chk-all-bills')
-                    .off('change')
-                    .on('change', function() {
-                        console.log('12')
-                        $('.chk-bill')
-                            .prop('checked', this.checked)
-                            .first()
-                                .trigger('change');
-                        return false;
+                    $.post('/api/bill/bulkPayUnpaidProsOnBillExpectedAmount', {
+                        billUids: uids.join('|')
+                    }, _data => {
+                        if (!hasResponseError(_data)) {
+                            toastr.success('Selected bills paid successfully');
+                            fastReload();
+                        }
+                    }).then(function() {
+                        hideMask();
                     });
-            }
-            addMCInitializer('processing-bill-matrix', init, '#processing-bill-matrix');
-        }).call(window);
-    </script>
-@endsection
+                    return false;
+                });
+            $('.chk-bill')
+                .off('change')
+                .on('change', function() {
+                    console.log('123')
+                    $('.pay-selected-pros').prop('disabled', !$('.chk-bill:checked').length);
+                    $('.chk-all-bills').prop('checked', ($('.chk-bill:checked').length === $('.chk-bill').length));
+                    return false;
+                });
+            $('.chk-all-bills')
+                .off('change')
+                .on('change', function() {
+                    console.log('12')
+                    $('.chk-bill')
+                        .prop('checked', this.checked)
+                        .first()
+                        .trigger('change');
+                    return false;
+                });
+        }
+        addMCInitializer('processing-bill-matrix', init, '#processing-bill-matrix');
+    }).call(window);
+</script>
+@endsection

+ 137 - 134
resources/views/app/practice-management/remote-monitoring-report.blade.php

@@ -1,160 +1,163 @@
 @extends ('layouts/template')
 
 @section('content')
-    <div class="p-3 mcp-theme-1">
-        <div class="card">
-            <div class="card-header p-3 d-flex align-items-center">
-                <strong class="mr-4">
-                    <i class="fas fa-chart-bar"></i>
-                    Remote Monitoring Report
-                </strong>
-            </div>
+<div class="p-3 mcp-theme-1">
+    <div class="card">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
+            <strong class="mr-4">
+                <i class="fas fa-chart-bar"></i>
+                Remote Monitoring Report
+            </strong>
+        </div>
 
-            <div class="card-body p-0">
-                <div class="d-flex_ d-none flex-row">
-                    <div class="ml-2 mt-2">
-                        <div>Patient</div>
-                        <input type="text"  class="form-control input-sm" name="patient">
-                    </div>
-                    <div class="ml-2 mt-2">
-                        <div>HCP</div>
-                        <input type="text"  class="form-control input-sm" name="hcp">
-                    </div>
-                    <div class="ml-2 mt-2">
-                        <div>Care Month Start Date</div>
-                        <select name="" id="" class="form-control input-sm mb-2">
-                            <option>all</option>
-                            <option>on</option>
-                            <option>on-or-before</option>
-                            <option>on-or-after</option>
-                            <option>between</option>
-                            <option>not-on</option>
-                            <option>not-in-between</option>
-                        </select>
-                        <input type="date1" class="form-control input-sm mb-2">
-                        <input type="date1" class="form-control input-sm mb-2">
-                    </div>
-                    <div class="ml-2 mt-2">
-                        <div>Number Of Days With Measurements</div>
-                        <select name="" id="" class="form-control input-sm mb-2">
-                            <option>all</option>
-                            <option>less-than</option>
-                            <option>greater-than</option>
-                            <option>equal-to</option>
-                            <option>between</option>
-                            <option>not-equal-to</option>
-                            <option>not-in-between</option>
-                        </select>
-                        <input type="date1" class="form-control form-control input-sm mb-2">
-                        <input type="date1" class="form-control form-control input-sm mb-2">
-                    </div>
-                    <div class="ml-2 mt-2">
-                        <div>Most Recent Mcp Note Date</div>
-                        <select name="" id="" class="form-control  form-control input-sm mb-2">
-                            <option>all</option>
-                            <option>on</option>
-                            <option>on-or-before</option>
-                            <option>on-or-after</option>
-                            <option>between</option>
-                            <option>not-on</option>
-                            <option>not-in-between</option>
-                        </select>
-                        <input type="date1" class="form-control input-sm mb-2">
-                        <input type="date1" class="form-control input-sm mb-2">
-                    </div>
-                    <div class="ml-2 mt-2">
-                        <div>Days Between Most Recent Mcp Note Date And End Of Care Month</div>
-                        <select name="" id="" class="form-control input-sm mb-2">
-                            <option>all</option>
-                            <option>less-than</option>
-                            <option>greater-than</option>
-                            <option>equal-to</option>
-                            <option>between</option>
-                            <option>not-equal-to</option>
-                            <option>not-in-between</option>
-                        </select>
-                        <input type="date1" class="form-control  input-sm mb-2">
-                        <input type="date1" class="form-control  input-sm mb-2">
-                    </div>
-                    <div class="ml-2 mt-2">
-                        <button class="btn btn-primary"><i class="fa fa-filter"></i> Filter</button>
-                    </div>
+        <div class="card-body p-0">
+            <div class="d-flex_ d-none flex-row">
+                <div class="ml-2 mt-2">
+                    <div>Patient</div>
+                    <input type="text" class="form-control input-sm" name="patient">
+                </div>
+                <div class="ml-2 mt-2">
+                    <div>HCP</div>
+                    <input type="text" class="form-control input-sm" name="hcp">
+                </div>
+                <div class="ml-2 mt-2">
+                    <div>Care Month Start Date</div>
+                    <select name="" id="" class="form-control input-sm mb-2">
+                        <option>all</option>
+                        <option>on</option>
+                        <option>on-or-before</option>
+                        <option>on-or-after</option>
+                        <option>between</option>
+                        <option>not-on</option>
+                        <option>not-in-between</option>
+                    </select>
+                    <input type="date1" class="form-control input-sm mb-2">
+                    <input type="date1" class="form-control input-sm mb-2">
+                </div>
+                <div class="ml-2 mt-2">
+                    <div>Number Of Days With Measurements</div>
+                    <select name="" id="" class="form-control input-sm mb-2">
+                        <option>all</option>
+                        <option>less-than</option>
+                        <option>greater-than</option>
+                        <option>equal-to</option>
+                        <option>between</option>
+                        <option>not-equal-to</option>
+                        <option>not-in-between</option>
+                    </select>
+                    <input type="date1" class="form-control form-control input-sm mb-2">
+                    <input type="date1" class="form-control form-control input-sm mb-2">
                 </div>
-                <table class="table table-sm table-condensed p-0 m-0" style="">
-                    <thead class="bg-light">
+                <div class="ml-2 mt-2">
+                    <div>Most Recent Mcp Note Date</div>
+                    <select name="" id="" class="form-control  form-control input-sm mb-2">
+                        <option>all</option>
+                        <option>on</option>
+                        <option>on-or-before</option>
+                        <option>on-or-after</option>
+                        <option>between</option>
+                        <option>not-on</option>
+                        <option>not-in-between</option>
+                    </select>
+                    <input type="date1" class="form-control input-sm mb-2">
+                    <input type="date1" class="form-control input-sm mb-2">
+                </div>
+                <div class="ml-2 mt-2">
+                    <div>Days Between Most Recent Mcp Note Date And End Of Care Month</div>
+                    <select name="" id="" class="form-control input-sm mb-2">
+                        <option>all</option>
+                        <option>less-than</option>
+                        <option>greater-than</option>
+                        <option>equal-to</option>
+                        <option>between</option>
+                        <option>not-equal-to</option>
+                        <option>not-in-between</option>
+                    </select>
+                    <input type="date1" class="form-control  input-sm mb-2">
+                    <input type="date1" class="form-control  input-sm mb-2">
+                </div>
+                <div class="ml-2 mt-2">
+                    <button class="btn btn-primary"><i class="fa fa-filter"></i> Filter</button>
+                </div>
+            </div>
+            <div class="table-responsive">
+                <table class="table table-sm table-striped p-0 m-0" style="">
+                    <thead class="bg-light text-nowrap">
                         <tr>
-				@if($isAdmin)
-			    <th class="border-0">MCP</th>
-				@endif
+                            @if($isAdmin)
+                            <th class="border-0">MCP</th>
+                            @endif
                             <th class="border-0">Patient</th>
                             <th class="border-0">Month/Year</th>
                             <th class="border-0"># Days w/ Meas.</th>
                             <th class="border-0">Most Recent MCP Note</th>
                             <th class="border-0">Days Between Note and EOM</th>
                             @if($isAdmin)
-			    <th class="border-0">RM Bill</th>
+                            <th class="border-0">RM Bill</th>
                             <th class="border-0">Is Bill Closed</th>
                             <th class="border-0">Bill Closed At</th>
                             <th class="border-0">Is Claim Closed</th>
-			    @endif
+                            @endif
                         </tr>
                     </thead>
 
                     <tbody>
                         @foreach($rows as $row)
-                            <tr>
-				@if($isAdmin)
-                                <td>
-                                    @if($row->mcp)
-                                        <b>{{ implode(", ", [$row->mcp->name_display]) }}</b>
-                                    @else
-                                        --
-                                    @endif
-                                </td>
-				@endif
-                                <td>
-                                    <a href="/patients/view/{{ $row->patient->uid }}">
-                                        <b>{{ implode(", ", [$row->patient->name_last,$row->patient->name_first]) }}</b>
-                                    </a>
-                                </td>
-                                <td>
-                                    <a href="{{route('patients.view.care-months.view.dashboard', ['patient'=>$row->patient, 'careMonth'=>$row])}}">
-                                        {{ friendly_date_month_year($row->start_date) }}
-                                    </a>
-                                </td>
-                                <td>
-                                	{{ $row->number_of_days_with_remote_measurements }}
-				                </td>
-                                <td>
-                                    @if($row->mostRecentMcpNote)
-                                        <a href="{{route('patients.view.notes.view.dashboard',['patient'=>$row->patient, 'note'=>$row->mostRecentMcpNote])}}">
-                                            {{friendly_date($row->most_recent_mcp_note_date)}}
-                                        </a>
-                                    @else
-                                        --
-                                    @endif
-                                </td>
-                                <td>{{$row->days_between_most_recent_mcp_note_date_and_end_of_care_month}}</td>
-                                @if($isAdmin)
-				<td>
-                                    @if($row->rmBill)
-                                        <a href="{{route('patients.view.care-months.view.dashboard', ['patient'=>$row->patient, 'careMonth'=>$row])}}">{{ $row->rmBill->code  }}</a>
-                                    @else
-                                        --
-                                    @endif
-                                </td>
-                                <td>{{$row->is_bill_closed? 'Yes':'No'}}</td>
-                                <td>{{friendly_date_time($row->bill_closed_at)}}</td>
-                                <td>{{$row->is_claim_closed? 'Yes':'No'}}</td>
-				@endif
-                            </tr>
+                        <tr>
+                            @if($isAdmin)
+                            <td>
+                                @if($row->mcp)
+                                {{ implode(", ", [$row->mcp->name_display]) }}
+                                @else
+                                --
+                                @endif
+                            </td>
+                            @endif
+                            <td>
+                                <a href="/patients/view/{{ $row->patient->uid }}">
+                                    {{ implode(", ", [$row->patient->name_last,$row->patient->name_first]) }}
+                                </a>
+                            </td>
+                            <td>
+                                <a href="{{route('patients.view.care-months.view.dashboard', ['patient'=>$row->patient, 'careMonth'=>$row])}}">
+                                    {{ friendly_date_month_year($row->start_date) }}
+                                </a>
+                            </td>
+                            <td>
+                                {{ $row->number_of_days_with_remote_measurements }}
+                            </td>
+                            <td>
+                                @if($row->mostRecentMcpNote)
+                                <a href="{{route('patients.view.notes.view.dashboard',['patient'=>$row->patient, 'note'=>$row->mostRecentMcpNote])}}">
+                                    {{friendly_date($row->most_recent_mcp_note_date)}}
+                                </a>
+                                @else
+                                --
+                                @endif
+                            </td>
+                            <td>{{$row->days_between_most_recent_mcp_note_date_and_end_of_care_month}}</td>
+                            @if($isAdmin)
+                            <td>
+                                @if($row->rmBill)
+                                <a href="{{route('patients.view.care-months.view.dashboard', ['patient'=>$row->patient, 'careMonth'=>$row])}}">{{ $row->rmBill->code  }}</a>
+                                @else
+                                --
+                                @endif
+                            </td>
+                            <td>{{$row->is_bill_closed? 'Yes':'No'}}</td>
+                            <td>{{friendly_date_time($row->bill_closed_at)}}</td>
+                            <td>{{$row->is_claim_closed? 'Yes':'No'}}</td>
+                            @endif
+                        </tr>
                         @endforeach
                     </tbody>
                 </table>
-                <div>
-                    {{$rows->links()}}
-                </div>
             </div>
+
         </div>
     </div>
-@endsection
+    <div class="mt-3">
+        {{$rows->links()}}
+    </div>
+</div>
+@endsection

+ 4 - 4
resources/views/app/practice-management/remote-monitoring.blade.php

@@ -6,11 +6,11 @@
 
         <div class="card">
 
-            <div class="card-header px-3 py-2 d-flex align-items-center">
+            <div class="card-header px-2 py-1 d-flex align-items-center">
                 <span class="mr-4">
-                    <span class="font-size-16">Remote Monitoring</span>
+                    <span class="font-size-14">Remote Monitoring</span>
                     <i class="fas fa-arrow-right text-sm mx-1"></i>
-                    <b class="font-size-16">{{friendly_month(date((request()->input('y') ?: 'Y') . '-' . (request()->input('m') ?: 'm') . '-d'))}}</b>
+                    <b class="font-size-14">{{friendly_month(date((request()->input('y') ?: 'Y') . '-' . (request()->input('m') ?: 'm') . '-d'))}}</b>
                 </span>
                 <?php
                 $dateInput = [];
@@ -32,7 +32,7 @@
                 </select>
             </div>
             <div class="card-body p-0">
-                <table class="table table-sm table-condensed table-hover p-0 m-0">
+                <table class="table table-sm table-striped table-hover p-0 m-0">
                     <thead class="bg-light">
                     <tr>
                         <th class="border-0">Patient</th>

+ 2 - 2
resources/views/app/practice-management/rm-bills-to-sign.blade.php

@@ -5,7 +5,7 @@
     <div class="p-3 mcp-theme-1">
     <div class="card">
 
-        <div class="card-header px-3 py-2 d-flex align-items-center">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
             <strong class="mr-4">
                 <i class="fas fa-user"></i>
                 RM Bills to Sign
@@ -25,7 +25,7 @@
         </div>
         <div class="card-body p-0">
 
-            <table class="table table-sm table-condensed table-hover p-0 m-0">
+            <table class="table table-sm table-striped table-hover p-0 m-0">
                 <thead class="bg-light">
                 <tr>
                     <th class="px-3 border-0">Eff. Date</th>

+ 215 - 225
resources/views/app/practice-management/rm-launch-and-clean.blade.php

@@ -2,242 +2,232 @@
 
 <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.23/css/jquery.dataTables.css">
 <script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.23/js/jquery.dataTables.js"></script>
-   
+
 
 @section('content')
-    <div id="rm-launch-and-clean" class="p-3 mcp-theme-1">
-        <div class="d-flex align-items-end mb-3">
-            <div class="font-weight-bold font-size-14 text-secondary">
-                RM - Launch &amp; Clean
-            </div>
+<div id="rm-launch-and-clean" class="p-3 mcp-theme-1">
+    <div class="d-flex align-items-end mb-3">
+        <div class="font-weight-bold font-size-14 text-secondary">
+            RM - Launch &amp; Clean
         </div>
+    </div>
+    <div class="border p-2 mb-2 rounded">
         <table class="table table-striped table-condensed table-bordered table-sm width-300px">
             <tbody>
-            <tr>
-                <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP + 40 EXTRA</b></td>
-                <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40']}}</td>
-            </tr>
-          
-            <tr>
-                <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP + 20 EXTRA</b></td>
-                <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20']}}</td>
-            </tr>
-          
-            <tr>
-                <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP Only</b></td>
-                <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP']}}</td>
-            </tr>
+                <tr>
+                    <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP + 40 EXTRA</b></td>
+                    <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40']}}</td>
+                </tr>
+
+                <tr>
+                    <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP + 20 EXTRA</b></td>
+                    <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20']}}</td>
+                </tr>
+
+                <tr>
+                    <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP Only</b></td>
+                    <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP']}}</td>
+                </tr>
 
-            <tr>
-                <td class="text-nowrap">Care Months Eligible For <b>RMB</b></td>
-                <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RMB']}}</td>
-            </tr>
+                <tr>
+                    <td class="text-nowrap">Care Months Eligible For <b>RMB</b></td>
+                    <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RMB']}}</td>
+                </tr>
 
-            <tr>
-                <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP + 40 EXTRA IF HAD INTERACTION</b></td>
-                <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40_ifHadInteraction']}}</td>
-            </tr>
-            <tr>
-                <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP + 20 EXTRA IF HAD INTERACTION</b></td>
-                <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20_ifHadInteraction']}}</td>
-            </tr>
+                <tr>
+                    <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP + 40 EXTRA IF HAD INTERACTION</b></td>
+                    <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40_ifHadInteraction']}}</td>
+                </tr>
+                <tr>
+                    <td class="text-nowrap">Care Months Eligible For <b>RM30 HCP + 20 EXTRA IF HAD INTERACTION</b></td>
+                    <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20_ifHadInteraction']}}</td>
+                </tr>
+
+                <tr>
+                    <td class="text-nowrap">Care Months With <b>16+ Measurement Days</b></td>
+                    <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsWith16OrMoreMeasurementDays']}}</td>
+                </tr>
 
-            <tr>
-                <td class="text-nowrap">Care Months With <b>16+ Measurement Days</b></td>
-                <td class="text-success font-weight-bold text-right">{{$keyNumbers['careMonthsWith16OrMoreMeasurementDays']}}</td>
-            </tr>
 
 
-        
             </tbody>
         </table>
-        <div class="d-flex align-items-center">
-            <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3"
-                    {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40'] ? '' : 'disabled'}}
-                    {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40'] ? '' : 'perm-disabled'}}
-                    data-ep="rm-admin-launcher-rm30-hcp-plus-40">Generate RM-30 HCP PLUS 40 ({{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40']}})
-            </button>
-            <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3"
-                    {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20'] ? '' : 'disabled'}}
-                    {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20'] ? '' : 'perm-disabled'}}
-                    data-ep="rm-admin-launcher-rm30-hcp-plus-20">Generate RM-30 HCP PLUS 20 ({{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20']}})
-            </button>
-            <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3"
-                    {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP'] ? '' : 'disabled'}}
-                    {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP'] ? '' : 'perm-disabled'}}
-                    data-ep="rm-admin-launch-rm30-hcp">Generate RM-30 HCP ({{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP']}})
-            </button>
-            <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3"
-                    {{@$keyNumbers['careMonthsEligibleForBillGeneration_RMB'] ? '' : 'disabled'}}
-                    {{@$keyNumbers['careMonthsEligibleForBillGeneration_RMB'] ? '' : 'perm-disabled'}}
-                    data-ep="rm-admin-launch-rmb">Generate RMB ({{@$keyNumbers['careMonthsEligibleForBillGeneration_RMB']}})
-            </button>
+    </div>
+    <div class="d-flex align-items-center">
+        <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3" {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40'] ? '' : 'disabled'}} {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40'] ? '' : 'perm-disabled'}} data-ep="rm-admin-launcher-rm30-hcp-plus-40">Generate RM-30 HCP PLUS 40 ({{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_40']}})
+        </button>
+        <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3" {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20'] ? '' : 'disabled'}} {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20'] ? '' : 'perm-disabled'}} data-ep="rm-admin-launcher-rm30-hcp-plus-20">Generate RM-30 HCP PLUS 20 ({{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP_PLUS_20']}})
+        </button>
+        <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3" {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP'] ? '' : 'disabled'}} {{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP'] ? '' : 'perm-disabled'}} data-ep="rm-admin-launch-rm30-hcp">Generate RM-30 HCP ({{@$keyNumbers['careMonthsEligibleForBillGeneration_RM30_HCP']}})
+        </button>
+        <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3" {{@$keyNumbers['careMonthsEligibleForBillGeneration_RMB'] ? '' : 'disabled'}} {{@$keyNumbers['careMonthsEligibleForBillGeneration_RMB'] ? '' : 'perm-disabled'}} data-ep="rm-admin-launch-rmb">Generate RMB ({{@$keyNumbers['careMonthsEligibleForBillGeneration_RMB']}})
+        </button>
 
-            <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3"
-                    data-ep="rm-admin-launch-counts">Get counts
-            </button>
+        <button class="btn btn-sm btn-primary btn-launch px-3 font-weight-bold mr-3" data-ep="rm-admin-launch-counts">Get counts
+        </button>
 
-           
-        </div>
-        <div class="my-3 text-secondary text-sm text-monospace launch-result" style="white-space: pre;">
-        </div>
 
-        <div>
-            <table class="table" id="careMonthsTable">
-                <thead>
-                    <tr>
-                        <th>Created At</th>
-                        <th>Uid</th>
-                        <th>Cm Total Time In Seconds</th>
-                        <th>Cm Total Time In Seconds By Cm Pro</th>
-                        <th>Cm Total Time In Seconds By Mcp</th>
-                        <th>Has Mcp Done Em Visit</th>
-                        <th>Is Client Enrolled In Cm</th>
-                        <th>Is Client Enrolled In Rm</th>
-                        <th>Is Cm Canceled This Month</th>
-                        <th>Is Rm Canceled This Month</th>
-                        <th>Is Tm This Month</th>
-                        <th>Rm Total Time In Seconds</th>
-                        <th>Rm Total Time In Seconds By Mcp</th>
-                        <th>Rm Total Time In Seconds By Rme Pro</th>
-                        <th>Rm Total Time In Seconds By Rmm Pro</th>
-                        <th>Start Date</th>
-                        <th>Why Is Cm Canceled This Month</th>
-                        <th>Why Is Rm Canceled This Month</th>
-                        <th>Why Not Enrolled In Cm Category</th>
-                        <th>Why Not Enrolled In Cm Memo</th>
-                        <th>Why Not Enrolled In Rm Category</th>
-                        <th>Why Not Enrolled In Rm Memo</th>
-                        <th>Created By Session Id</th>
-                        <th>Client Id</th>
-                        <th>Cm Bill Id</th>
-                        <th>Cm Pro Id</th>
-                        <th>Mcp Pro Id</th>
-                        <th>Rm Bill Id</th>
-                        <th>Rme Pro Id</th>
-                        <th>Rmm Pro Id</th>
-                        <th>Rms Pro Id</th>
-                        <th>Rmg Pro Id</th>
-                        <th>Rm Total Time In Seconds By Rms Pro</th>
-                        <th>Rm Total Time In Seconds By Rmg Pro</th>
-                        <th>Number Of Days With Remote Measurements</th>
-                        <th>Is Bill Closed</th>
-                        <th>Bill Closed At</th>
-                        <th>Bill Closed By Session Id</th>
-                        <th>Bill Closed By Pro Id</th>
-                        <th>Is Billing Marked Done</th>
-                        <th>Billing Marked Done By Session Id</th>
-                        <th>Billing Marked Done By Pro Id</th>
-                        <th>Billing Marked Done At</th>
-                        <th>Claim Total Expected</th>
-                        <th>Is Claim Closed</th>
-                        <th>Claim Closed At</th>
-                        <th>Claim Closed By Session Id</th>
-                        <th>Claim Closed By Pro Id</th>
-                        <th>Claim Summary</th>
-                        <th>Claim Total Paid</th>
-                        <th>Company Pro Payer Id</th>
-                        <th>Company Pro Id</th>
-                        <th>Company Id</th>
-                        <th>Company Location Id</th>
-                        <th>Has Anyone Interacted With Client About Rm Outside Note</th>
-                        <th>Rm Num Measurements Not Stamped By Mcp</th>
-                        <th>Rm Num Measurements Not Stamped By Non Hcp</th>
-                        <th>Rm Num Measurements Not Stamped By Rmm</th>
-                        <th>Rm Num Measurements Not Stamped By Rme</th>
-                        <th>Has Mcp Rm Interacted By Note</th>
-                        <th>Mcp Rm Interaction Note Id</th>
-                        <th>Is Rm Interaction Waived</th>
-                    </tr>
-                </thead>
+    </div>
+    <div class="my-3 text-secondary text-sm text-monospace launch-result" style="white-space: pre;">
+    </div>
+<div class="border rounded p-2">
+    <div class="table-responsive">
+        <table class="table table-sm table-striped text-nowrap" id="careMonthsTable">
+            <thead>
+                <tr>
+                    <th>Created At</th>
+                    <th>Uid</th>
+                    <th>Cm Total Time In Seconds</th>
+                    <th>Cm Total Time In Seconds By Cm Pro</th>
+                    <th>Cm Total Time In Seconds By Mcp</th>
+                    <th>Has Mcp Done Em Visit</th>
+                    <th>Is Client Enrolled In Cm</th>
+                    <th>Is Client Enrolled In Rm</th>
+                    <th>Is Cm Canceled This Month</th>
+                    <th>Is Rm Canceled This Month</th>
+                    <th>Is Tm This Month</th>
+                    <th>Rm Total Time In Seconds</th>
+                    <th>Rm Total Time In Seconds By Mcp</th>
+                    <th>Rm Total Time In Seconds By Rme Pro</th>
+                    <th>Rm Total Time In Seconds By Rmm Pro</th>
+                    <th>Start Date</th>
+                    <th>Why Is Cm Canceled This Month</th>
+                    <th>Why Is Rm Canceled This Month</th>
+                    <th>Why Not Enrolled In Cm Category</th>
+                    <th>Why Not Enrolled In Cm Memo</th>
+                    <th>Why Not Enrolled In Rm Category</th>
+                    <th>Why Not Enrolled In Rm Memo</th>
+                    <th>Created By Session Id</th>
+                    <th>Client Id</th>
+                    <th>Cm Bill Id</th>
+                    <th>Cm Pro Id</th>
+                    <th>Mcp Pro Id</th>
+                    <th>Rm Bill Id</th>
+                    <th>Rme Pro Id</th>
+                    <th>Rmm Pro Id</th>
+                    <th>Rms Pro Id</th>
+                    <th>Rmg Pro Id</th>
+                    <th>Rm Total Time In Seconds By Rms Pro</th>
+                    <th>Rm Total Time In Seconds By Rmg Pro</th>
+                    <th>Number Of Days With Remote Measurements</th>
+                    <th>Is Bill Closed</th>
+                    <th>Bill Closed At</th>
+                    <th>Bill Closed By Session Id</th>
+                    <th>Bill Closed By Pro Id</th>
+                    <th>Is Billing Marked Done</th>
+                    <th>Billing Marked Done By Session Id</th>
+                    <th>Billing Marked Done By Pro Id</th>
+                    <th>Billing Marked Done At</th>
+                    <th>Claim Total Expected</th>
+                    <th>Is Claim Closed</th>
+                    <th>Claim Closed At</th>
+                    <th>Claim Closed By Session Id</th>
+                    <th>Claim Closed By Pro Id</th>
+                    <th>Claim Summary</th>
+                    <th>Claim Total Paid</th>
+                    <th>Company Pro Payer Id</th>
+                    <th>Company Pro Id</th>
+                    <th>Company Id</th>
+                    <th>Company Location Id</th>
+                    <th>Has Anyone Interacted With Client About Rm Outside Note</th>
+                    <th>Rm Num Measurements Not Stamped By Mcp</th>
+                    <th>Rm Num Measurements Not Stamped By Non Hcp</th>
+                    <th>Rm Num Measurements Not Stamped By Rmm</th>
+                    <th>Rm Num Measurements Not Stamped By Rme</th>
+                    <th>Has Mcp Rm Interacted By Note</th>
+                    <th>Mcp Rm Interaction Note Id</th>
+                    <th>Is Rm Interaction Waived</th>
+                </tr>
+            </thead>
 
-                <tbody>
-                    @foreach($careMonthsWith16PlusMeasurements as $careMonth)
-                    <tr>
-                        <td>{{$careMonth->created_at}}</td>
-                        <td>{{$careMonth->uid}}</td>
-                        <td>{{$careMonth->cm_total_time_in_seconds}}</td>
-                        <td>{{$careMonth->cm_total_time_in_seconds_by_cm_pro}}</td>
-                        <td>{{$careMonth->cm_total_time_in_seconds_by_mcp}}</td>
-                        <td>{{$careMonth->has_mcp_done_em_visit}}</td>
-                        <td>{{$careMonth->is_client_enrolled_in_cm}}</td>
-                        <td>{{$careMonth->is_client_enrolled_in_rm}}</td>
-                        <td>{{$careMonth->is_cm_canceled_this_month}}</td>
-                        <td>{{$careMonth->is_rm_canceled_this_month}}</td>
-                        <td>{{$careMonth->is_tm_this_month}}</td>
-                        <td>{{$careMonth->rm_total_time_in_seconds}}</td>
-                        <td>{{$careMonth->rm_total_time_in_seconds_by_mcp}}</td>
-                        <td>{{$careMonth->rm_total_time_in_seconds_by_rme_pro}}</td>
-                        <td>{{$careMonth->rm_total_time_in_seconds_by_rmm_pro}}</td>
-                        <td>{{$careMonth->start_date}}</td>
-                        <td>{{$careMonth->why_is_cm_canceled_this_month}}</td>
-                        <td>{{$careMonth->why_is_rm_canceled_this_month}}</td>
-                        <td>{{$careMonth->why_not_enrolled_in_cm_category}}</td>
-                        <td>{{$careMonth->why_not_enrolled_in_cm_memo}}</td>
-                        <td>{{$careMonth->why_not_enrolled_in_rm_category}}</td>
-                        <td>{{$careMonth->why_not_enrolled_in_rm_memo}}</td>
-                        <td>{{$careMonth->created_by_session_id}}</td>
-                        <td>{{$careMonth->client_id}}</td>
-                        <td>{{$careMonth->cm_bill_id}}</td>
-                        <td>{{$careMonth->cm_pro_id}}</td>
-                        <td>{{$careMonth->mcp_pro_id}}</td>
-                        <td>{{$careMonth->rm_bill_id}}</td>
-                        <td>{{$careMonth->rme_pro_id}}</td>
-                        <td>{{$careMonth->rmm_pro_id}}</td>
-                        <td>{{$careMonth->rms_pro_id}}</td>
-                        <td>{{$careMonth->rmg_pro_id}}</td>
-                        <td>{{$careMonth->rm_total_time_in_seconds_by_rms_pro}}</td>
-                        <td>{{$careMonth->rm_total_time_in_seconds_by_rmg_pro}}</td>
-                        <td>{{$careMonth->number_of_days_with_remote_measurements}}</td>
-                        <td>{{$careMonth->is_bill_closed}}</td>
-                        <td>{{$careMonth->bill_closed_at}}</td>
-                        <td>{{$careMonth->bill_closed_by_session_id}}</td>
-                        <td>{{$careMonth->bill_closed_by_pro_id}}</td>
-                        <td>{{$careMonth->is_billing_marked_done}}</td>
-                        <td>{{$careMonth->billing_marked_done_by_session_id}}</td>
-                        <td>{{$careMonth->billing_marked_done_by_pro_id}}</td>
-                        <td>{{$careMonth->billing_marked_done_at}}</td>
-                        <td>{{$careMonth->claim_total_expected}}</td>
-                        <td>{{$careMonth->is_claim_closed}}</td>
-                        <td>{{$careMonth->claim_closed_at}}</td>
-                        <td>{{$careMonth->claim_closed_by_session_id}}</td>
-                        <td>{{$careMonth->claim_closed_by_pro_id}}</td>
-                        <td>{{$careMonth->claim_summary}}</td>
-                        <td>{{$careMonth->claim_total_paid}}</td>
-                        <td>{{$careMonth->company_pro_payer_id}}</td>
-                        <td>{{$careMonth->company_pro_id}}</td>
-                        <td>{{$careMonth->company_id}}</td>
-                        <td>{{$careMonth->company_location_id}}</td>
-                        <td>{{$careMonth->has_anyone_interacted_with_client_about_rm_outside_note}}</td>
-                        <td>{{$careMonth->rm_num_measurements_not_stamped_by_mcp}}</td>
-                        <td>{{$careMonth->rm_num_measurements_not_stamped_by_non_hcp}}</td>
-                        <td>{{$careMonth->rm_num_measurements_not_stamped_by_rmm}}</td>
-                        <td>{{$careMonth->rm_num_measurements_not_stamped_by_rme}}</td>
-                        <td>{{$careMonth->has_mcp_rm_interacted_by_note}}</td>
-                        <td>{{$careMonth->mcp_rm_interaction_note_id}}</td>
-                        <td>{{$careMonth->is_rm_interaction_waived}}</td>
-                    </tr>
-                    @endforeach
-                </tbody>
-            </table>
-        </div>
+            <tbody>
+                @foreach($careMonthsWith16PlusMeasurements as $careMonth)
+                <tr>
+                    <td>{{$careMonth->created_at}}</td>
+                    <td>{{$careMonth->uid}}</td>
+                    <td>{{$careMonth->cm_total_time_in_seconds}}</td>
+                    <td>{{$careMonth->cm_total_time_in_seconds_by_cm_pro}}</td>
+                    <td>{{$careMonth->cm_total_time_in_seconds_by_mcp}}</td>
+                    <td>{{$careMonth->has_mcp_done_em_visit}}</td>
+                    <td>{{$careMonth->is_client_enrolled_in_cm}}</td>
+                    <td>{{$careMonth->is_client_enrolled_in_rm}}</td>
+                    <td>{{$careMonth->is_cm_canceled_this_month}}</td>
+                    <td>{{$careMonth->is_rm_canceled_this_month}}</td>
+                    <td>{{$careMonth->is_tm_this_month}}</td>
+                    <td>{{$careMonth->rm_total_time_in_seconds}}</td>
+                    <td>{{$careMonth->rm_total_time_in_seconds_by_mcp}}</td>
+                    <td>{{$careMonth->rm_total_time_in_seconds_by_rme_pro}}</td>
+                    <td>{{$careMonth->rm_total_time_in_seconds_by_rmm_pro}}</td>
+                    <td>{{$careMonth->start_date}}</td>
+                    <td>{{$careMonth->why_is_cm_canceled_this_month}}</td>
+                    <td>{{$careMonth->why_is_rm_canceled_this_month}}</td>
+                    <td>{{$careMonth->why_not_enrolled_in_cm_category}}</td>
+                    <td>{{$careMonth->why_not_enrolled_in_cm_memo}}</td>
+                    <td>{{$careMonth->why_not_enrolled_in_rm_category}}</td>
+                    <td>{{$careMonth->why_not_enrolled_in_rm_memo}}</td>
+                    <td>{{$careMonth->created_by_session_id}}</td>
+                    <td>{{$careMonth->client_id}}</td>
+                    <td>{{$careMonth->cm_bill_id}}</td>
+                    <td>{{$careMonth->cm_pro_id}}</td>
+                    <td>{{$careMonth->mcp_pro_id}}</td>
+                    <td>{{$careMonth->rm_bill_id}}</td>
+                    <td>{{$careMonth->rme_pro_id}}</td>
+                    <td>{{$careMonth->rmm_pro_id}}</td>
+                    <td>{{$careMonth->rms_pro_id}}</td>
+                    <td>{{$careMonth->rmg_pro_id}}</td>
+                    <td>{{$careMonth->rm_total_time_in_seconds_by_rms_pro}}</td>
+                    <td>{{$careMonth->rm_total_time_in_seconds_by_rmg_pro}}</td>
+                    <td>{{$careMonth->number_of_days_with_remote_measurements}}</td>
+                    <td>{{$careMonth->is_bill_closed}}</td>
+                    <td>{{$careMonth->bill_closed_at}}</td>
+                    <td>{{$careMonth->bill_closed_by_session_id}}</td>
+                    <td>{{$careMonth->bill_closed_by_pro_id}}</td>
+                    <td>{{$careMonth->is_billing_marked_done}}</td>
+                    <td>{{$careMonth->billing_marked_done_by_session_id}}</td>
+                    <td>{{$careMonth->billing_marked_done_by_pro_id}}</td>
+                    <td>{{$careMonth->billing_marked_done_at}}</td>
+                    <td>{{$careMonth->claim_total_expected}}</td>
+                    <td>{{$careMonth->is_claim_closed}}</td>
+                    <td>{{$careMonth->claim_closed_at}}</td>
+                    <td>{{$careMonth->claim_closed_by_session_id}}</td>
+                    <td>{{$careMonth->claim_closed_by_pro_id}}</td>
+                    <td>{{$careMonth->claim_summary}}</td>
+                    <td>{{$careMonth->claim_total_paid}}</td>
+                    <td>{{$careMonth->company_pro_payer_id}}</td>
+                    <td>{{$careMonth->company_pro_id}}</td>
+                    <td>{{$careMonth->company_id}}</td>
+                    <td>{{$careMonth->company_location_id}}</td>
+                    <td>{{$careMonth->has_anyone_interacted_with_client_about_rm_outside_note}}</td>
+                    <td>{{$careMonth->rm_num_measurements_not_stamped_by_mcp}}</td>
+                    <td>{{$careMonth->rm_num_measurements_not_stamped_by_non_hcp}}</td>
+                    <td>{{$careMonth->rm_num_measurements_not_stamped_by_rmm}}</td>
+                    <td>{{$careMonth->rm_num_measurements_not_stamped_by_rme}}</td>
+                    <td>{{$careMonth->has_mcp_rm_interacted_by_note}}</td>
+                    <td>{{$careMonth->mcp_rm_interaction_note_id}}</td>
+                    <td>{{$careMonth->is_rm_interaction_waived}}</td>
+                </tr>
+                @endforeach
+            </tbody>
+        </table>
+    </div>
     </div>
-    <script>
-        $(document).ready( function () {
-            $('#careMonthsTable').DataTable();
-        } );
-    </script>
-    <script>
-        (function() {
-            function init() {
-                $('.btn-launch')
-                    .off('click')
-                    .on('click', function () {
-                        $('.launch-result').text('Please wait...');
-                        $('.btn-launch').prop('disabled', true);
-                        $.get('/api/careMonth/' + $(this).attr('data-ep'), _data => {
-                            if(!hasResponseError(_data)) {
-                                if(_data.data && _data.data.length) {
+</div>
+<script>
+    $(document).ready(function() {
+        $('#careMonthsTable').DataTable();
+    });
+</script>
+<script>
+    (function() {
+        function init() {
+            $('.btn-launch')
+                .off('click')
+                .on('click', function() {
+                    $('.launch-result').text('Please wait...');
+                    $('.btn-launch').prop('disabled', true);
+                    $.get('/api/careMonth/' + $(this).attr('data-ep'), _data => {
+                            if (!hasResponseError(_data)) {
+                                if (_data.data && _data.data.length) {
                                     $('.launch-result').text(_data.data.join("\n"));
                                 }
                             }
@@ -245,9 +235,9 @@
                         .then(() => {
                             $('.btn-launch:not([perm-disabled])').prop('disabled', false);
                         });
-                    });
-            }
-            addMCInitializer('rm-launch-and-clean', init, '#rm-launch-and-clean');
-        }).call(window);
-    </script>
-@endsection
+                });
+        }
+        addMCInitializer('rm-launch-and-clean', init, '#rm-launch-and-clean');
+    }).call(window);
+</script>
+@endsection

+ 5 - 5
resources/views/app/unmapped-sms.blade.php

@@ -5,7 +5,7 @@
     <div class="p-3 mcp-theme-1">
     <div class="card">
 
-        <div class="card-header px-3 py-2 d-flex align-items-center">
+        <div class="card-header px-2 py-1 d-flex align-items-center">
             <strong class="mr-4">
                 <i class="fas fa-user"></i>
                 Unmapped SMS
@@ -16,7 +16,7 @@
             </select>--}}
         </div>
         <div class="card-body p-0">
-            <table class="table table-condensed p-0 m-0">
+            <table class="table table-sm table-striped p-0 m-0">
                 <thead class="bg-light">
                 <tr>
                     <th class="px-3 border-0 w-25">Date &amp; Time</th>
@@ -55,11 +55,11 @@
                 @endforeach
                 </tbody>
             </table>
-            <div>
-                {{$unmappedSMS->links()}}
-            </div>
         </div>
     </div>
+    <div class="mt-2">
+        {{$unmappedSMS->links()}}
+    </div>
     </div>
 
 @endsection