|
@@ -15,7 +15,7 @@
|
|
|
<div class="width-200px">
|
|
|
<select provider-search data-pro-uid="{{ @$targetPro->uid }}"
|
|
|
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')}}')">
|
|
|
+ onchange="fastLoad('/practice-management/processing-bill-matrix/' + this.value + '?f={{request()->input('f')}}&t={{request()->input('t')}}')">
|
|
|
<option value="" {{!@$targetPro ? 'selected' : ''}}>All Pros</option>
|
|
|
</select>
|
|
|
</div>
|
|
@@ -24,12 +24,19 @@
|
|
|
@endif
|
|
|
<div class="width-200px ml-2">
|
|
|
<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)">
|
|
|
+ onchange="fastLoad('/practice-management/processing-bill-matrix/{{@$targetPro ? $targetPro->uid : ''}}?f=' + this.value + '&t={{request()->input('t')}}')">
|
|
|
<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>
|
|
|
</div>
|
|
|
+ <div class="width-200px ml-2">
|
|
|
+ <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)">
|
|
|
+ <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>
|
|
|
<div class="card-body p-0">
|
|
|
<table class="table table-sm table-condensed p-0 m-0">
|
|
@@ -39,12 +46,24 @@
|
|
|
<th>Note Link</th>
|
|
|
<td>Effective Date</td>
|
|
|
<td>Balance Post Date</td>
|
|
|
- <td>Pro</td>
|
|
|
+
|
|
|
+ @if(!request()->input('t') || request()->input('t') === 'hcp')
|
|
|
+ <td>HCP Pro</td>
|
|
|
+ @elseif(request()->input('t') === 'na')
|
|
|
+ <td>NA Pro</td>
|
|
|
+ @endif
|
|
|
+
|
|
|
<td>Client</td>
|
|
|
<td>Code</td>
|
|
|
<td>Units</td>
|
|
|
<td>Verified?</td>
|
|
|
- <td>HCP Expected Amount</td>
|
|
|
+
|
|
|
+ @if(!request()->input('t') || request()->input('t') === 'hcp')
|
|
|
+ <td>HCP Expected Amount</td>
|
|
|
+ @elseif(request()->input('t') === 'na')
|
|
|
+ <td>NA Expected Amount</td>
|
|
|
+ @endif
|
|
|
+
|
|
|
<td>HCP Signed?</td>
|
|
|
{{-- <td>HCP Signed At</td>--}}
|
|
|
</tr>
|
|
@@ -68,13 +87,30 @@
|
|
|
</td>
|
|
|
<td>{{friendly_date($row->effective_date)}}</td>
|
|
|
<td>{{friendly_date($row->balance_post_date)}}</td>
|
|
|
- <td>{{$row->hcp->name_last}}, {{$row->hcp->name_first}}</td>
|
|
|
+
|
|
|
+ @if(!request()->input('t') || request()->input('t') === 'hcp')
|
|
|
+ <td>{{$row->hcp->name_last}}, {{$row->hcp->name_first}}</td>
|
|
|
+ @elseif(request()->input('t') === 'na')
|
|
|
+ <td>{{$row->genericPro->name_last}}, {{$row->genericPro->name_first}}</td>
|
|
|
+ @endif
|
|
|
<td>{{$row->client->name_last}}, {{$row->client->name_first}}</td>
|
|
|
<td>{{$row->code}}</td>
|
|
|
<td>{{$row->number_of_units}}</td>
|
|
|
<td>{{$row->is_verified ? 'Verified: ' . friendly_date($row->marked_verified_at, true) : 'Not Verified'}} </td>
|
|
|
- <td>{{$row->hcp_expected_payment_amount}}</td>
|
|
|
- <td>{{$row->is_signed_by_hcp}}</td>
|
|
|
+
|
|
|
+ @if(!request()->input('t') || request()->input('t') === 'hcp')
|
|
|
+ <td>{{$row->hcp_expected_payment_amount}}</td>
|
|
|
+ @elseif(request()->input('t') === 'na')
|
|
|
+ <td>{{$row->generic_pro_expected_payment_amount}}</td>
|
|
|
+ @endif
|
|
|
+
|
|
|
+ @if(!request()->input('t') || request()->input('t') === 'hcp')
|
|
|
+ <td>{{$row->is_signed_by_hcp}}</td>
|
|
|
+ @elseif(request()->input('t') === 'na')
|
|
|
+ <td>{{$row->is_signed_by_generic_pro}}</td>
|
|
|
+ @endif
|
|
|
+
|
|
|
+
|
|
|
{{-- <td>{{$row->signed_by_hcp_at}}</td>--}}
|
|
|
</tr>
|
|
|
@endforeach
|