|
@@ -36,15 +36,18 @@
|
|
@endif
|
|
@endif
|
|
--}}
|
|
--}}
|
|
|
|
|
|
- <div id="note-single-header" class="pt-2 pb-3 d-flex align-items-start">
|
|
|
|
- <h6 class="my-0 text-secondary d-flex align-items-start w-100">
|
|
|
|
|
|
+ <div id="note-single-header" class="pt-2 pb-3 d-flex align-items-start screen-only">
|
|
|
|
+ <h6 class="my-0 text-secondary d-flex align-items-center w-100">
|
|
<a href="/patients/view/{{ $patient->uid }}/notes" class="small text-decoration-none mr-3">
|
|
<a href="/patients/view/{{ $patient->uid }}/notes" class="small text-decoration-none mr-3">
|
|
<i class="fa fa-chevron-left"></i>
|
|
<i class="fa fa-chevron-left"></i>
|
|
</a>
|
|
</a>
|
|
- <div class="mr-auto">
|
|
|
|
|
|
+ <div class="mr-auto d-inline-flex align-items-center">
|
|
<span class="text-dark font-weight-bold">Note
|
|
<span class="text-dark font-weight-bold">Note
|
|
<span class="text-secondary font-weight-normal">{{ $note->is_cancelled ? '(CANCELLED)' : '' }}</span>
|
|
<span class="text-secondary font-weight-normal">{{ $note->is_cancelled ? '(CANCELLED)' : '' }}</span>
|
|
</span>
|
|
</span>
|
|
|
|
+ @if($pro->pro_type === 'ADMIN')
|
|
|
|
+ <a href="#" class="print-note ml-3 btn btn-sm btn-primary text-white font-weight-bold invisible"><i class="fa fa-print"></i> Print</a>
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
@if($patient->has_mcp_done_onboarding_visit !== 'YES')
|
|
@if($patient->has_mcp_done_onboarding_visit !== 'YES')
|
|
<div class="ml-auto">
|
|
<div class="ml-auto">
|
|
@@ -399,22 +402,22 @@
|
|
<div class="">
|
|
<div class="">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<p class="font-weight-bold text-secondary m-0 font-size-14">ERx/Orders Summary</p>
|
|
<p class="font-weight-bold text-secondary m-0 font-size-14">ERx/Orders Summary</p>
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
|
|
|
+ <span class="mx-2 text-secondary screen-only">|</span>
|
|
<a href="/patients/view/{{$patient->uid}}/tickets/erx/create?popupmode=1¬e-uid={{$note->uid}}"
|
|
<a href="/patients/view/{{$patient->uid}}/tickets/erx/create?popupmode=1¬e-uid={{$note->uid}}"
|
|
native target="_blank"
|
|
native target="_blank"
|
|
- class="ticket-popup-trigger note-dashboard-action d-block text-nowrap">
|
|
|
|
|
|
+ class="ticket-popup-trigger note-dashboard-action d-block text-nowrap screen-only">
|
|
+ ERx
|
|
+ ERx
|
|
</a>
|
|
</a>
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
|
|
|
+ <span class="mx-2 text-secondary screen-only">|</span>
|
|
<a href="/patients/view/{{$patient->uid}}/tickets/lab/create?popupmode=1¬e-uid={{$note->uid}}"
|
|
<a href="/patients/view/{{$patient->uid}}/tickets/lab/create?popupmode=1¬e-uid={{$note->uid}}"
|
|
native target="_blank"
|
|
native target="_blank"
|
|
- class="ticket-popup-trigger note-dashboard-action d-block text-nowrap">
|
|
|
|
|
|
+ class="ticket-popup-trigger note-dashboard-action d-block text-nowrap screen-only">
|
|
+ Lab
|
|
+ Lab
|
|
</a>
|
|
</a>
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
|
|
|
+ <span class="mx-2 text-secondary screen-only">|</span>
|
|
<a href="/patients/view/{{$patient->uid}}/tickets/imaging/create?popupmode=1¬e-uid={{$note->uid}}"
|
|
<a href="/patients/view/{{$patient->uid}}/tickets/imaging/create?popupmode=1¬e-uid={{$note->uid}}"
|
|
native target="_blank"
|
|
native target="_blank"
|
|
- class="ticket-popup-trigger note-dashboard-action d-block text-nowrap">
|
|
|
|
|
|
+ class="ticket-popup-trigger note-dashboard-action d-block text-nowrap screen-only">
|
|
+ Imaging
|
|
+ Imaging
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
@@ -660,8 +663,9 @@
|
|
<div class="">
|
|
<div class="">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<p class="font-weight-bold text-secondary m-0 font-size-14">Supply Orders Summary</p>
|
|
<p class="font-weight-bold text-secondary m-0 font-size-14">Supply Orders Summary</p>
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
|
|
|
+ <span class="mx-2 text-secondary screen-only">|</span>
|
|
<a native target="_blank"
|
|
<a native target="_blank"
|
|
|
|
+ class="screen-only"
|
|
open-in-stag-popup
|
|
open-in-stag-popup
|
|
update-parent
|
|
update-parent
|
|
mc-initer="patient-supply-orders"
|
|
mc-initer="patient-supply-orders"
|
|
@@ -796,7 +800,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@if($pro->pro_type === 'ADMIN')
|
|
@if($pro->pro_type === 'ADMIN')
|
|
- <div class="p-3 border-bottom">
|
|
|
|
|
|
+ <div class="p-3 border-bottom screen-only">
|
|
<div>
|
|
<div>
|
|
<h2 class="font-weight-bold text-secondary">Bills & Claims Summary</h2>
|
|
<h2 class="font-weight-bold text-secondary">Bills & Claims Summary</h2>
|
|
<div class="d-flex justify-content-center align-items-start">
|
|
<div class="d-flex justify-content-center align-items-start">
|
|
@@ -922,7 +926,7 @@
|
|
@endif
|
|
@endif
|
|
|
|
|
|
@if($note->method === 'IN_CLINIC' || $pro->pro_type === 'ADMIN')
|
|
@if($note->method === 'IN_CLINIC' || $pro->pro_type === 'ADMIN')
|
|
- <div class="p-3 border-bottom">
|
|
|
|
|
|
+ <div class="p-3 border-bottom screen-only">
|
|
<div class="ml-auto d-inline-flex align-items-center">
|
|
<div class="ml-auto d-inline-flex align-items-center">
|
|
|
|
|
|
<span class="text-secondary font-weight-bold">Pro: </span>
|
|
<span class="text-secondary font-weight-bold">Pro: </span>
|
|
@@ -1013,12 +1017,14 @@
|
|
@endif
|
|
@endif
|
|
|
|
|
|
{{-- bills --}}
|
|
{{-- bills --}}
|
|
- @if($pro->pro_type === 'ADMIN' || ($note->hcpPro && $pro->id === $note->hcpPro->id))
|
|
|
|
|
|
+ @if($pro->pro_type === 'ADMIN' || ($note->hcpPro && $pro->id === $note->hcpPro->id) || ($note->allyPro && $pro->id === $note->allyPro->id))
|
|
@if($note->bills->count())
|
|
@if($note->bills->count())
|
|
<div class="p-3 border-bottom">
|
|
<div class="p-3 border-bottom">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<p class="font-weight-bold text-secondary font-size-13 m-0">Bills</p>
|
|
<p class="font-weight-bold text-secondary font-size-13 m-0">Bills</p>
|
|
- @include('app/patient/note/_create-bill')
|
|
|
|
|
|
+ @if($pro->pro_type === 'ADMIN' || ($note->hcpPro && $pro->id === $note->hcpPro->id))
|
|
|
|
+ @include('app/patient/note/_create-bill')
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@if($pro->pro_type === 'ADMIN')
|
|
@if($pro->pro_type === 'ADMIN')
|
|
@@ -1030,12 +1036,12 @@
|
|
<th class="border-bottom-0">Service</th>
|
|
<th class="border-bottom-0">Service</th>
|
|
<th class="border-bottom-0">Billable</th>
|
|
<th class="border-bottom-0">Billable</th>
|
|
<th class="border-bottom-0">HCP</th>
|
|
<th class="border-bottom-0">HCP</th>
|
|
- <th class="border-bottom-0">Total</th>
|
|
|
|
|
|
+ <th class="border-bottom-0 screen-only">Total</th>
|
|
<th class="border-bottom-0">Sign</th>
|
|
<th class="border-bottom-0">Sign</th>
|
|
- <th class="border-bottom-0">Bal Post Date</th>
|
|
|
|
|
|
+ <th class="border-bottom-0 screen-only">Bal Post Date</th>
|
|
<th class="border-bottom-0">Verification</th>
|
|
<th class="border-bottom-0">Verification</th>
|
|
<th class="border-bottom-0">Cancellation</th>
|
|
<th class="border-bottom-0">Cancellation</th>
|
|
- <th class="border-bottom-0">Payment</th>
|
|
|
|
|
|
+ <th class="border-bottom-0 screen-only">Payment</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
@@ -1087,17 +1093,17 @@
|
|
</td>
|
|
</td>
|
|
<td class="">
|
|
<td class="">
|
|
<div class="text-nowrap font-weight-bold text-secondary">{{ $bill->hcp->displayName() }} (HCP)</div>
|
|
<div class="text-nowrap font-weight-bold text-secondary">{{ $bill->hcp->displayName() }} (HCP)</div>
|
|
- <div class="text-nowrap mt-1">
|
|
|
|
|
|
+ <div class="text-nowrap mt-1 screen-only">
|
|
<span class="text-secondary">Paid: </span>
|
|
<span class="text-secondary">Paid: </span>
|
|
<span>{{ $bill->has_hcp_been_paid ? 'Yes' : 'No' }}</span>
|
|
<span>{{ $bill->has_hcp_been_paid ? 'Yes' : 'No' }}</span>
|
|
</div>
|
|
</div>
|
|
@if(!$bill->has_hcp_been_paid)
|
|
@if(!$bill->has_hcp_been_paid)
|
|
- <div class="text-nowrap mt-1">
|
|
|
|
|
|
+ <div class="text-nowrap mt-1 screen-only">
|
|
<span class="text-secondary">Expected: </span>
|
|
<span class="text-secondary">Expected: </span>
|
|
<span class="font-weight-bold">${{ $bill->hcp_expected_payment_amount }}</span>
|
|
<span class="font-weight-bold">${{ $bill->hcp_expected_payment_amount }}</span>
|
|
</div>
|
|
</div>
|
|
@else
|
|
@else
|
|
- <div class="text-nowrap mt-1">
|
|
|
|
|
|
+ <div class="text-nowrap mt-1 screen-only">
|
|
<span class="text-secondary">Amount: </span>
|
|
<span class="text-secondary">Amount: </span>
|
|
<span class="font-weight-bold">${{ $bill->hcp_payment_amount }}</span>
|
|
<span class="font-weight-bold">${{ $bill->hcp_payment_amount }}</span>
|
|
</div>
|
|
</div>
|
|
@@ -1105,17 +1111,17 @@
|
|
@if($bill->ally)
|
|
@if($bill->ally)
|
|
<hr>
|
|
<hr>
|
|
<div class="text-nowrap font-weight-bold text-secondary">{{ $bill->ally->displayName() }} (NA)</div>
|
|
<div class="text-nowrap font-weight-bold text-secondary">{{ $bill->ally->displayName() }} (NA)</div>
|
|
- <div class="text-nowrap mt-1">
|
|
|
|
|
|
+ <div class="text-nowrap mt-1 screen-only">
|
|
<span class="text-secondary">Paid: </span>
|
|
<span class="text-secondary">Paid: </span>
|
|
<span>{{ $bill->has_na_been_paid ? 'Yes' : 'No' }}</span>
|
|
<span>{{ $bill->has_na_been_paid ? 'Yes' : 'No' }}</span>
|
|
</div>
|
|
</div>
|
|
@if(!$bill->has_na_been_paid)
|
|
@if(!$bill->has_na_been_paid)
|
|
- <div class="text-nowrap mt-1">
|
|
|
|
|
|
+ <div class="text-nowrap mt-1 screen-only">
|
|
<span class="text-secondary">Expected: </span>
|
|
<span class="text-secondary">Expected: </span>
|
|
<span class="font-weight-bold">${{ $bill->na_expected_payment_amount }}</span>
|
|
<span class="font-weight-bold">${{ $bill->na_expected_payment_amount }}</span>
|
|
</div>
|
|
</div>
|
|
@else
|
|
@else
|
|
- <div class="text-nowrap mt-1">
|
|
|
|
|
|
+ <div class="text-nowrap mt-1 screen-only">
|
|
<span class="text-secondary">Amount: </span>
|
|
<span class="text-secondary">Amount: </span>
|
|
<span class="font-weight-bold">${{ $bill->na_payment_amount }}</span>
|
|
<span class="font-weight-bold">${{ $bill->na_payment_amount }}</span>
|
|
</div>
|
|
</div>
|
|
@@ -1123,7 +1129,7 @@
|
|
@endif
|
|
@endif
|
|
|
|
|
|
</td>
|
|
</td>
|
|
- <td class="pr-3">
|
|
|
|
|
|
+ <td class="pr-3 screen-only">
|
|
@if($bill->has_hcp_been_paid)
|
|
@if($bill->has_hcp_been_paid)
|
|
<span class="text-secondary">Paid. </span>
|
|
<span class="text-secondary">Paid. </span>
|
|
<span class="font-weight-bold">${{ friendly_money($bill->total_paid) }}</span>
|
|
<span class="font-weight-bold">${{ friendly_money($bill->total_paid) }}</span>
|
|
@@ -1177,7 +1183,7 @@
|
|
@endif
|
|
@endif
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
- <td>
|
|
|
|
|
|
+ <td class="screen-only">
|
|
@if(!$bill->is_cancelled)
|
|
@if(!$bill->is_cancelled)
|
|
<span class="d-block" moe>
|
|
<span class="d-block" moe>
|
|
<a class="" href="" show start>
|
|
<a class="" href="" show start>
|
|
@@ -1305,37 +1311,67 @@
|
|
@endif
|
|
@endif
|
|
|
|
|
|
</td>
|
|
</td>
|
|
- <td> <!-- submit payment -->
|
|
|
|
|
|
+ <td class="screen-only"> <!-- submit payment -->
|
|
<div class="my-1">
|
|
<div class="my-1">
|
|
- @if(!$bill->is_cancelled && !$bill->has_hcp_been_paid)
|
|
|
|
- <span class="d-block" moe relative="">
|
|
|
|
- <a class="font-weight-bold" href="" show start>Submit Payment For HCP</a>
|
|
|
|
- <form url="/api/bill/payHcpAmount" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
|
- <p>Submit Payment</p>
|
|
|
|
- <div class="mb-0">
|
|
|
|
- <input type="text" class="text form-control form-control-sm" name="hcpPaymentAmount" value="{{$bill->hcp_expected_payment_amount}}" placeholder="amount"><br>
|
|
|
|
- <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
|
- <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
|
|
+ @if(!$bill->is_cancelled && !$bill->has_hcp_been_paid )
|
|
|
|
+ @if(+$bill->hcp_expected_payment_amount && $bill->is_signed_by_hcp)
|
|
|
|
+ <span class="d-block" moe relative="">
|
|
|
|
+ <a class="font-weight-bold" href="" show start>Submit Payment For HCP</a>
|
|
|
|
+ <form url="/api/bill/payHcpAmount" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
|
+ <p>Submit Payment</p>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <input type="text" class="text form-control form-control-sm" name="hcpPaymentAmount" value="{{$bill->hcp_expected_payment_amount}}" placeholder="amount"><br>
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ @else
|
|
|
|
+ @if(!+$bill->hcp_expected_payment_amount)
|
|
|
|
+ <div class="mb-1 text-danger">
|
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
+ HCP expected amount is invalid
|
|
</div>
|
|
</div>
|
|
- </form>
|
|
|
|
- </span>
|
|
|
|
|
|
+ @endif
|
|
|
|
+ @if(!$bill->is_signed_by_hcp)
|
|
|
|
+ <div class="mb-1 text-danger">
|
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
+ HCP has not signed the bill
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
<div class="my-1">
|
|
<div class="my-1">
|
|
@if(!$bill->is_cancelled && !$bill->has_na_been_paid && $bill->ally)
|
|
@if(!$bill->is_cancelled && !$bill->has_na_been_paid && $bill->ally)
|
|
- <span class="d-block" moe relative="">
|
|
|
|
- <a class="font-weight-bold" href="" show start>Submit Payment For NA</a>
|
|
|
|
- <form url="/api/bill/payNaAmount" right>
|
|
|
|
- <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
|
- <p>Submit Payment For NA</p>
|
|
|
|
- <div class="mb-0">
|
|
|
|
- <input type="text" class="text form-control form-control-sm" name="naPaymentAmount" value="{{$bill->na_expected_payment_amount}}" placeholder="amount"><br>
|
|
|
|
- <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
|
- <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
|
|
+ @if(+$bill->na_expected_payment_amount && $bill->is_signed_by_na)
|
|
|
|
+ <span class="d-block" moe relative="">
|
|
|
|
+ <a class="font-weight-bold" href="" show start>Submit Payment For NA</a>
|
|
|
|
+ <form url="/api/bill/payNaAmount" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
|
+ <p>Submit Payment For NA</p>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <input type="text" class="text form-control form-control-sm" name="naPaymentAmount" value="{{$bill->na_expected_payment_amount}}" placeholder="amount"><br>
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ @else
|
|
|
|
+ @if(!+$bill->na_expected_payment_amount)
|
|
|
|
+ <div class="mb-1 text-danger">
|
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
+ NA expected amount is invalid
|
|
</div>
|
|
</div>
|
|
- </form>
|
|
|
|
- </span>
|
|
|
|
|
|
+ @endif
|
|
|
|
+ @if(!$bill->is_signed_by_na)
|
|
|
|
+ <div class="mb-1 text-danger">
|
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
|
+ NA has not signed the bill
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
@@ -1348,6 +1384,9 @@
|
|
<thead class="bg-light">
|
|
<thead class="bg-light">
|
|
<tr>
|
|
<tr>
|
|
<th class="border-bottom-0 pl-3">HCP</th>
|
|
<th class="border-bottom-0 pl-3">HCP</th>
|
|
|
|
+ @if($note->ally_pro_id === $pro->id)
|
|
|
|
+ <th class="border-bottom-0 pl-3">NA</th>
|
|
|
|
+ @endif
|
|
<th class="border-bottom-0 w-25 pl-3">Service</th>
|
|
<th class="border-bottom-0 w-25 pl-3">Service</th>
|
|
{{--<th class="border-bottom-0 w-25 pl-2">Reason</th>--}}
|
|
{{--<th class="border-bottom-0 w-25 pl-2">Reason</th>--}}
|
|
<th class="border-bottom-0 pl-3">Billable</th>
|
|
<th class="border-bottom-0 pl-3">Billable</th>
|
|
@@ -1359,6 +1398,9 @@
|
|
@foreach ($note->bills as $bill)
|
|
@foreach ($note->bills as $bill)
|
|
<tr>
|
|
<tr>
|
|
<td class="pl-3">{{ $bill->hcp->displayName() }}</td>
|
|
<td class="pl-3">{{ $bill->hcp->displayName() }}</td>
|
|
|
|
+ @if($note->ally_pro_id === $pro->id)
|
|
|
|
+ <td class="pl-3">{{ $note->allyPro->displayName() }}</td>
|
|
|
|
+ @endif
|
|
<td class="pl-3 {{ $bill->is_cancelled ? 'text-secondary' : '' }}">{{$bill->code}}</td>
|
|
<td class="pl-3 {{ $bill->is_cancelled ? 'text-secondary' : '' }}">{{$bill->code}}</td>
|
|
{{--<td class="pl-2">
|
|
{{--<td class="pl-2">
|
|
{{ $bill->reason1 }}
|
|
{{ $bill->reason1 }}
|
|
@@ -1388,10 +1430,18 @@
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
<td class="pl-2">
|
|
<td class="pl-2">
|
|
- @if($bill->has_hcp_been_paid)
|
|
|
|
- <span class="text-dark">Processed:</span><span class="font-weight-bold text-success ml-2">${{ $bill->hcp_payment_amount }}</span>
|
|
|
|
- @else
|
|
|
|
- <span class="text-dark">Expected:</span><span class="font-weight-bold text-dark ml-2">{{ $bill->hcp_expected_payment_amount ? '$' . $bill->hcp_expected_payment_amount : '-' }}</span>
|
|
|
|
|
|
+ @if($bill->hcp_pro_id === $pro->id)
|
|
|
|
+ @if($bill->has_hcp_been_paid)
|
|
|
|
+ <span class="text-dark">Processed:</span><span class="font-weight-bold text-success ml-2">${{ $bill->hcp_payment_amount }}</span>
|
|
|
|
+ @else
|
|
|
|
+ <span class="text-dark">Expected:</span><span class="font-weight-bold text-dark ml-2">{{ $bill->hcp_expected_payment_amount ? '$' . $bill->hcp_expected_payment_amount : '-' }}</span>
|
|
|
|
+ @endif
|
|
|
|
+ @elseif($bill->na_pro_id === $pro->id)
|
|
|
|
+ @if($bill->has_na_been_paid)
|
|
|
|
+ <span class="text-dark">Processed:</span><span class="font-weight-bold text-success ml-2">${{ $bill->na_payment_amount }}</span>
|
|
|
|
+ @else
|
|
|
|
+ <span class="text-dark">Expected:</span><span class="font-weight-bold text-dark ml-2">{{ $bill->na_expected_payment_amount ? '$' . $bill->na_expected_payment_amount : '-' }}</span>
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
@@ -1406,7 +1456,7 @@
|
|
<span moe
|
|
<span moe
|
|
class="d-block {{ $bill->hcp_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
class="d-block {{ $bill->hcp_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
title="{{ $bill->hcp_pro_id !== $pro->id ? 'Only the bill\'s HCP can sign' : '' }}">
|
|
title="{{ $bill->hcp_pro_id !== $pro->id ? 'Only the bill\'s HCP can sign' : '' }}">
|
|
- <a class="" href="" show start>Sign</a>
|
|
|
|
|
|
+ <a class="" href="" show start>Sign as HCP</a>
|
|
<form url="/api/bill/signAsHcp">
|
|
<form url="/api/bill/signAsHcp">
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
<p>Sign this bill as HCP?</p>
|
|
<p>Sign this bill as HCP?</p>
|
|
@@ -1417,6 +1467,29 @@
|
|
</form>
|
|
</form>
|
|
</span>
|
|
</span>
|
|
@endif
|
|
@endif
|
|
|
|
+ @if($bill->na_pro_id === $pro->id)
|
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
|
+ @if($bill->is_signed_by_na)
|
|
|
|
+ <span class="d-block text-secondary">
|
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
|
+ NA Signed
|
|
|
|
+ </span>
|
|
|
|
+ @else
|
|
|
|
+ <span moe
|
|
|
|
+ class="d-block {{ $bill->na_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
|
+ title="{{ $bill->hcp_pro_id !== $pro->id ? 'Only the bill\'s NA can sign' : '' }}">
|
|
|
|
+ <a class="" href="" show start>Sign as NA</a>
|
|
|
|
+ <form url="/api/bill/signAsNa">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
|
+ <p>Sign this bill as NA?</p>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Sign</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ @endif
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
@if(!$bill->has_hcp_been_paid && $pro->pro_type === 'ADMIN')
|
|
@if(!$bill->has_hcp_been_paid && $pro->pro_type === 'ADMIN')
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<span class="mx-2 text-secondary">|</span>
|
|
@@ -1433,6 +1506,20 @@
|
|
</form>
|
|
</form>
|
|
</span>
|
|
</span>
|
|
@endif
|
|
@endif
|
|
|
|
+ @if(!$bill->has_na_been_paid && $bill->ally && $pro->pro_type === 'ADMIN')
|
|
|
|
+ <span class="d-block" moe relative="">
|
|
|
|
+ <a class="font-weight-bold" href="" show start>Submit Payment For NA</a>
|
|
|
|
+ <form url="/api/bill/payNaAmount" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
|
+ <p>Submit Payment For NA</p>
|
|
|
|
+ <div class="mb-0">
|
|
|
|
+ <input type="text" class="text form-control form-control-sm" name="naPaymentAmount" value="{{$bill->na_expected_payment_amount}}" placeholder="amount"><br>
|
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </span>
|
|
|
|
+ @endif
|
|
@if($bill->is_cancelled)
|
|
@if($bill->is_cancelled)
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<span class="mx-2 text-secondary">|</span>
|
|
<span class="d-block text-secondary">
|
|
<span class="d-block text-secondary">
|
|
@@ -1472,7 +1559,7 @@
|
|
{{-- claims --}}
|
|
{{-- claims --}}
|
|
@if($pro->pro_type === 'ADMIN')
|
|
@if($pro->pro_type === 'ADMIN')
|
|
@if($note->claims->count())
|
|
@if($note->claims->count())
|
|
- <div class="p-3">
|
|
|
|
|
|
+ <div class="screen-only p-3">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<p class="font-weight-bold text-secondary m-0">Claims</p>
|
|
<p class="font-weight-bold text-secondary m-0">Claims</p>
|
|
@include('app/patient/note/_create-claim')
|
|
@include('app/patient/note/_create-claim')
|
|
@@ -1833,7 +1920,7 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
@else
|
|
@else
|
|
- <div class="my-3 px-3 d-flex">
|
|
|
|
|
|
+ <div class="screen-only my-3 px-3 d-flex">
|
|
<p class="font-weight-bold mb-0 text-secondary">No claims in this note</p>
|
|
<p class="font-weight-bold mb-0 text-secondary">No claims in this note</p>
|
|
@include('app/patient/note/_create-claim')
|
|
@include('app/patient/note/_create-claim')
|
|
</div>
|
|
</div>
|
|
@@ -1841,7 +1928,7 @@
|
|
@endif
|
|
@endif
|
|
|
|
|
|
|
|
|
|
- <div class="border-top p-3">
|
|
|
|
|
|
+ <div class="border-top p-3 screen-only">
|
|
@if($note->addendums->count())
|
|
@if($note->addendums->count())
|
|
<div class="">
|
|
<div class="">
|
|
<div class="d-flex align-items-center mb-2">
|
|
<div class="d-flex align-items-center mb-2">
|
|
@@ -1903,7 +1990,9 @@
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- @include('app/patient/note/_cancel-signed-note')
|
|
|
|
|
|
+ <div class="screen-only">
|
|
|
|
+ @include('app/patient/note/_cancel-signed-note')
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|