|
@@ -26,14 +26,20 @@
|
|
|
<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')}}')">
|
|
|
<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>
|
|
|
+ <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') || request()->input('t') === 'hcp' ? 'selected' : ''}} value="hcp">
|
|
|
+ HCP Bills
|
|
|
+ </option>
|
|
|
<option {{request()->input('t') === 'na' ? 'selected' : ''}} value="na">NA Bills</option>
|
|
|
</select>
|
|
|
</div>
|
|
@@ -42,43 +48,38 @@
|
|
|
<table class="table table-sm table-condensed p-0 m-0">
|
|
|
<thead class="bg-light">
|
|
|
<tr>
|
|
|
- <th><input type="checkbox"/> All</th>
|
|
|
+ <th><input type="checkbox"/> All</th>
|
|
|
<th>Note Link</th>
|
|
|
<td>Effective Date</td>
|
|
|
- <td>Balance Post Date</td>
|
|
|
-
|
|
|
+ <td>Balance Post Date</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>Verified?</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>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@foreach ($bills as $row)
|
|
|
<tr class="">
|
|
|
- <td>
|
|
|
- <input type="checkbox"/>
|
|
|
- </td>
|
|
|
+ <td>
|
|
|
+ <input type="checkbox"/>
|
|
|
+ </td>
|
|
|
<td>
|
|
|
@if($row->note)
|
|
|
- <a href="/patients/view/{{ $row->client->uid }}/notes/view/{{ $row->note->uid }}">
|
|
|
- Note Link
|
|
|
- </a>
|
|
|
+ <a href="/patients/view/{{ $row->client->uid }}/notes/view/{{ $row->note->uid }}">
|
|
|
+ Note Link
|
|
|
+ </a>
|
|
|
@else
|
|
|
<a href="/patients/view/{{ $row->client->uid }}">
|
|
|
Chart
|
|
@@ -86,8 +87,7 @@
|
|
|
@endif
|
|
|
</td>
|
|
|
<td>{{friendly_date($row->effective_date)}}</td>
|
|
|
- <td>{{friendly_date($row->balance_post_date)}}</td>
|
|
|
-
|
|
|
+ <td>{{friendly_date($row->balance_post_date)}}</td>
|
|
|
@if(!request()->input('t') || request()->input('t') === 'hcp')
|
|
|
<td>{{$row->hcp->name_last}}, {{$row->hcp->name_first}}</td>
|
|
|
@elseif(request()->input('t') === 'na')
|
|
@@ -96,22 +96,17 @@
|
|
|
<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->is_verified ? 'Verified: ' . friendly_date($row->marked_verified_at, true) : 'Not Verified'}} </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
|
|
|
</tbody>
|