|
@@ -252,11 +252,8 @@
|
|
|
<input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
<div class="form-group">
|
|
|
<label for="" class="control-label">NA</label>
|
|
|
- <select name="naProUid" class="form-control">
|
|
|
+ <select name="naProUid" class="form-control" provider-search>
|
|
|
<option value="">--select--</option>
|
|
|
- @foreach($allyPros as $allyPro)
|
|
|
- <option value="{{$allyPro->uid}}">{{$allyPro->name_first}} {{$allyPro->name_last}}</option>
|
|
|
- @endforeach
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="mb-0">
|
|
@@ -336,23 +333,23 @@
|
|
|
<div class="">
|
|
|
<div>
|
|
|
@if($note->is_signed_by_hcp)
|
|
|
- <span class="text-secondary">
|
|
|
- <i class="fa fa-check"></i>
|
|
|
- Note Signed
|
|
|
- @if($pro->pro_type == 'ADMIN')
|
|
|
- <span moe class="ml-2">
|
|
|
- <a class="" href="" show start>Undo sign?</a>
|
|
|
- <form url="/api/note/adminUndoSignAsHcp" right>
|
|
|
- <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
- <p>Undo sign?</p>
|
|
|
- <div class="mb-0">
|
|
|
- <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
|
|
|
- </span>
|
|
|
+ <div class="text-secondary">
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
+ Note Signed
|
|
|
+ @if($pro->pro_type == 'ADMIN')
|
|
|
+ <span moe class="ml-2">
|
|
|
+ <a class="" href="" show start>Undo sign?</a>
|
|
|
+ <form url="/api/note/adminUndoSignAsHcp" right>
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
+ <p>Undo sign?</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <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
|
|
|
+ </div>
|
|
|
@else
|
|
|
<div moe
|
|
|
class="{{ $note->hcp_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
@@ -370,14 +367,27 @@
|
|
|
@endif
|
|
|
</div>
|
|
|
</div>
|
|
|
- @if($note->allyPro)
|
|
|
+ @if($note->allyPro && $pro->id === $note->allyPro->id)
|
|
|
<div class="mx-4">
|
|
|
<div>
|
|
|
@if($note->is_signed_by_ally)
|
|
|
<span class="text-secondary">
|
|
|
- <i class="fa fa-check"></i>
|
|
|
- Note Signed By NA
|
|
|
- </span>
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
+ Note Signed By NA
|
|
|
+ @if(!$note->is_signed_by_hcp)
|
|
|
+ <span moe class="ml-2">
|
|
|
+ <a class="" href="" show start>Undo sign?</a>
|
|
|
+ <form url="/api/note/undoSignAsAlly" right>
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
+ <p>Undo sign?</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <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
|
|
|
+ </span>
|
|
|
@else
|
|
|
<div moe
|
|
|
class="{{ $note->ally_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
@@ -1181,7 +1191,7 @@
|
|
|
<span class="font-weight-bold">${{ $bill->hcp_payment_amount }}</span>
|
|
|
</div>
|
|
|
@endif
|
|
|
- @if($bill->ally)
|
|
|
+ @if($bill->ally && !!floatval($bill->na_expected_payment_amount))
|
|
|
<hr>
|
|
|
<div class="text-nowrap font-weight-bold text-secondary">{{ $bill->ally->displayName() }} (NA)</div>
|
|
|
<div class="text-nowrap mt-1 screen-only">
|
|
@@ -1453,7 +1463,7 @@
|
|
|
@endforeach
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- @else
|
|
|
+ @elseif($note->hcpPro && $pro->id === $note->hcpPro->id)
|
|
|
<table class="table table-sm tabe-striped mb-3 border-left border-right border-bottom">
|
|
|
<thead class="bg-light">
|
|
|
<tr>
|
|
@@ -1599,6 +1609,42 @@
|
|
|
<span class="d-block text-secondary">
|
|
|
Cancelled
|
|
|
</span>
|
|
|
+ @if($bill->is_cancelled && !$bill->is_cancellation_acknowledged)
|
|
|
+ <div class="ml-2 text-secondary">
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
+ Not Acknowledged
|
|
|
+ </div>
|
|
|
+ <div class="d-block ml-2" moe>
|
|
|
+ <a class="" href="" show start>Ack. Cancellation</a>
|
|
|
+ <form url="/api/bill/acknowledgeCancellation">
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
+ <p>Acknowledge Cancellation?</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ {{--<input type="text" class="text form-control form-control-sm" name="cancellationMemo" value="{{$bill->cancellation_memo}}" placeholder=""><br>--}}
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
+
|
|
|
+ @if($bill->is_cancellation_acknowledged && !$note->is_billing_marked_done)
|
|
|
+ <div class="ml-2 text-secondary">
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
+ Acknowledged
|
|
|
+ </div>
|
|
|
+ <div class="d-block ml-2" moe>
|
|
|
+ <a class="" href="" show start>Undo</a>
|
|
|
+ <form url="/api/bill/undoAcknowledgeCancellation">
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
+ <p>Undo Acknowledge Cancellation?</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
@else
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
|
<span class="d-block" moe>
|