|
@@ -15,7 +15,7 @@
|
|
<div class="width-200px">
|
|
<div class="width-200px">
|
|
<select provider-search data-pro-uid="{{ @$targetPro->uid }}"
|
|
<select provider-search data-pro-uid="{{ @$targetPro->uid }}"
|
|
name="proUid" class="form-control form-control-sm mr-auto width-200px"
|
|
name="proUid" class="form-control form-control-sm mr-auto width-200px"
|
|
- onchange="fastLoad('/practice-management/processing-bill-matrix/' + this.value + '?f={{request()->input('f')}}&t={{request()->input('t')}}')">
|
|
|
|
|
|
+ onchange="fastLoad('/practice-management/processing-bill-matrix/' + this.value + '?f={{request()->input('f')}}&t={{request()->input('t')}}&bs={{request()->input('bs')}}&be={{request()->input('be')}}')">
|
|
<option value="" {{!@$targetPro ? 'selected' : ''}}>All Pros</option>
|
|
<option value="" {{!@$targetPro ? 'selected' : ''}}>All Pros</option>
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
@@ -24,7 +24,7 @@
|
|
@endif
|
|
@endif
|
|
<div class="width-200px ml-2">
|
|
<div class="width-200px ml-2">
|
|
<select name="filter" class="form-control form-control-sm mr-auto width-200px"
|
|
<select name="filter" class="form-control form-control-sm mr-auto width-200px"
|
|
- onchange="fastLoad('/practice-management/processing-bill-matrix/{{@$targetPro ? $targetPro->uid : ''}}?f=' + this.value + '&t={{request()->input('t')}}')">
|
|
|
|
|
|
+ onchange="fastLoad('/practice-management/processing-bill-matrix/{{@$targetPro ? $targetPro->uid : ''}}?f=' + this.value + '&t={{request()->input('t')}}&bs={{request()->input('bs')}}&be={{request()->input('be')}}')">
|
|
<option {{request()->input('f') === '' ? 'selected' : ''}} value="">All Bills</option>
|
|
<option {{request()->input('f') === '' ? 'selected' : ''}} value="">All Bills</option>
|
|
<option {{request()->input('f') === 'verified' ? 'selected' : ''}} value="verified">Verified
|
|
<option {{request()->input('f') === 'verified' ? 'selected' : ''}} value="verified">Verified
|
|
Only
|
|
Only
|
|
@@ -36,20 +36,32 @@
|
|
</div>
|
|
</div>
|
|
<div class="width-200px ml-2">
|
|
<div class="width-200px ml-2">
|
|
<select name="filter" class="form-control form-control-sm mr-auto width-200px"
|
|
<select name="filter" class="form-control form-control-sm mr-auto width-200px"
|
|
- onchange="fastLoad('/practice-management/processing-bill-matrix/{{@$targetPro ? $targetPro->uid : ''}}?f={{request()->input('f')}}&t=' + this.value)">
|
|
|
|
|
|
+ onchange="fastLoad('/practice-management/processing-bill-matrix/{{@$targetPro ? $targetPro->uid : ''}}?f={{request()->input('f')}}&bs={{request()->input('bs')}}&be={{request()->input('be')}}&t=' + this.value)">
|
|
<option {{!request()->input('t') || request()->input('t') === 'hcp' ? 'selected' : ''}} value="hcp">
|
|
<option {{!request()->input('t') || request()->input('t') === 'hcp' ? 'selected' : ''}} value="hcp">
|
|
HCP Bills
|
|
HCP Bills
|
|
</option>
|
|
</option>
|
|
<option {{request()->input('t') === 'na' ? 'selected' : ''}} value="na">NA Bills</option>
|
|
<option {{request()->input('t') === 'na' ? 'selected' : ''}} value="na">NA Bills</option>
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="ml-auto d-inline-flex align-items-center">
|
|
|
|
+ <b class="mr-2">Bal Post Date</b>
|
|
|
|
+ <input type="date"
|
|
|
|
+ value="{{request()->input('bs')}}"
|
|
|
|
+ onchange="fastLoad('/practice-management/processing-bill-matrix/{{@$targetPro ? $targetPro->uid : ''}}?f={{request()->input('f')}}&t={{request()->input('t')}}&be={{request()->input('be')}}&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="fastLoad('/practice-management/processing-bill-matrix/{{@$targetPro ? $targetPro->uid : ''}}?f={{request()->input('f')}}&t={{request()->input('t')}}&bs={{request()->input('bs')}}&be=' + this.value)"
|
|
|
|
+ class="form-control form-control-sm width-150px" name="bpdTo">
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div class="card-body p-0">
|
|
<div class="card-body p-0">
|
|
<table class="table table-sm table-condensed p-0 m-0">
|
|
<table class="table table-sm table-condensed p-0 m-0">
|
|
<thead class="bg-light">
|
|
<thead class="bg-light">
|
|
<tr>
|
|
<tr>
|
|
<th><input type="checkbox"/> All</th>
|
|
<th><input type="checkbox"/> All</th>
|
|
- <th>Note Link</th>
|
|
|
|
|
|
+ <th>Context</th>
|
|
<td>Effective Date</td>
|
|
<td>Effective Date</td>
|
|
<td>Balance Post Date</td>
|
|
<td>Balance Post Date</td>
|
|
@if(!request()->input('t') || request()->input('t') === 'hcp')
|
|
@if(!request()->input('t') || request()->input('t') === 'hcp')
|
|
@@ -80,10 +92,12 @@
|
|
<a href="/patients/view/{{ $row->client->uid }}/notes/view/{{ $row->note->uid }}">
|
|
<a href="/patients/view/{{ $row->client->uid }}/notes/view/{{ $row->note->uid }}">
|
|
Note Link
|
|
Note Link
|
|
</a>
|
|
</a>
|
|
- @else
|
|
|
|
|
|
+ @elseif($row->client)
|
|
<a href="/patients/view/{{ $row->client->uid }}">
|
|
<a href="/patients/view/{{ $row->client->uid }}">
|
|
Chart
|
|
Chart
|
|
</a>
|
|
</a>
|
|
|
|
+ @else
|
|
|
|
+ Generic
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
<td>{{friendly_date($row->effective_date)}}</td>
|
|
<td>{{friendly_date($row->effective_date)}}</td>
|
|
@@ -93,7 +107,11 @@
|
|
@elseif(request()->input('t') === 'na')
|
|
@elseif(request()->input('t') === 'na')
|
|
<td>{{$row->genericPro->name_last}}, {{$row->genericPro->name_first}}</td>
|
|
<td>{{$row->genericPro->name_last}}, {{$row->genericPro->name_first}}</td>
|
|
@endif
|
|
@endif
|
|
- <td>{{$row->client->name_last}}, {{$row->client->name_first}}</td>
|
|
|
|
|
|
+ <td>
|
|
|
|
+ @if($row->client)
|
|
|
|
+ {{$row->client->name_last}}, {{$row->client->name_first}}
|
|
|
|
+ @endif
|
|
|
|
+ </td>
|
|
<td>{{$row->code}}</td>
|
|
<td>{{$row->code}}</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>{{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 ? 'Verified: ' . friendly_date($row->marked_verified_at, true) : 'Not Verified'}} </td>
|
|
<td>{{$row->is_verified ? 'Verified: ' . friendly_date($row->marked_verified_at, true) : 'Not Verified'}} </td>
|