|
@@ -229,6 +229,18 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ @if($mode === 'mcp' || $mode === 'rmm')
|
|
|
+ <div>
|
|
|
+ <label class="mb-0 text-sm {{request()->input('f_billable') && request()->input('f_billable') !== 'any' ? 'text-info' : 'text-secondary'}}">Billable</label>
|
|
|
+ <select name="f_billable"
|
|
|
+ class="mr-2 form-control form-control-sm min-width-unset width-70px pl-0">
|
|
|
+ <option {{request()->input('f_billable') === 'all' ? 'selected' : ''}} value="any">All</option>
|
|
|
+ <option {{request()->input('f_billable') === 'yes' ? 'selected' : ''}} value="yes">Yes</option>
|
|
|
+ <option {{request()->input('f_billable') === 'no' ? 'selected' : ''}} value="no">No</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
+
|
|
|
<div>
|
|
|
<label class="mb-0 text-sm text-secondary"> </label>
|
|
|
<div class="d-flex align-items-start">
|
|
@@ -245,10 +257,10 @@
|
|
|
|
|
|
<div class="card-body p-0">
|
|
|
<div class="d-flex align-items-stretch m-0 h-100">
|
|
|
- <div class="overflow-auto border-right h-100">
|
|
|
+ <div class="overflow-auto border-right h-100 rpm-matrix-left-column">
|
|
|
@include('app.stat-tree.summary', ['slug' => 'rm-tree-' . $mode, 'showForPro' => $pro, 'noDropVisualize' => true, 'stParams' => ['start_date' => $rcmStartDate]])
|
|
|
</div>
|
|
|
- <div class="flex-grow-1 px-0 overflow-auto h-100">
|
|
|
+ <div class="flex-grow-1 px-0 overflow-auto h-100 rpm-matrix-right-column">
|
|
|
<?php $trIndex = 0; ?>
|
|
|
@foreach ($patients as $iPatient)
|
|
|
<script>
|
|
@@ -303,8 +315,15 @@
|
|
|
<th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.rpm-matrix-" . $mode), 'label' => '#Meas. Days', 'key' => 'number_of_days_with_remote_measurements'])</th>
|
|
|
<th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.rpm-matrix-" . $mode), 'label' => '#RME Mins.', 'key' => 'rm_total_time_in_seconds_by_rme_pro'])</th>
|
|
|
@endif
|
|
|
- <th class="border-0 text-secondary"
|
|
|
- ">Billable</th>
|
|
|
+ @if(!request()->input('f_billable') || request()->input('f_billable') === 'all')
|
|
|
+ @if($mode === 'mcp')
|
|
|
+ <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.rpm-matrix-" . $mode), 'label' => 'Billable', 'key' => 'mcp_rm_generic_bill_id'])</th>
|
|
|
+ @elseif($mode === 'rmm')
|
|
|
+ <th class="border-0">@include('app.practice-management._sort_header', ['route' => route("practice-management.rpm-matrix-" . $mode), 'label' => 'Billable', 'key' => 'rmm_rm_generic_bill_id'])</th>
|
|
|
+ @endif
|
|
|
+ @else
|
|
|
+ <th class="border-0 text-secondary">Billable</th>
|
|
|
+ @endif
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
@@ -415,6 +434,10 @@
|
|
|
});
|
|
|
|
|
|
initMoes();
|
|
|
+
|
|
|
+ // hack - init split at 22%
|
|
|
+ localStorage['v-split-rounded-rpm-matrix-split'] = 22;
|
|
|
+ initVSplitter('rpm-matrix-split', $('.rpm-matrix-left-column'), $('.rpm-matrix-right-column'), null, {marginLeft: '-3px', width: '5px', height: '100%', marginTop: 0, borderRadius: 0});
|
|
|
}
|
|
|
|
|
|
addMCInitializer('practice-remote-monitoring', init, '#practice-remote-monitoring');
|