|
@@ -451,96 +451,69 @@
|
|
|
</form>
|
|
|
</span>
|
|
|
@endif
|
|
|
- @if(!$note->is_claim_closed)
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Close Claiming</a>
|
|
|
- <form url="/api/note/closeClaiming">
|
|
|
- <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
- <p>Close claiming?</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>
|
|
|
- @elseif($note->is_claim_closed)
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Reopen Claiming</a>
|
|
|
- <form url="/api/note/reopenClaiming">
|
|
|
- <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
- <p>Reopen claiming?</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>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Update Claim Total Paid</a>
|
|
|
- <form url="/api/note/updateClaimTotalPaid">
|
|
|
- <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
- <div class="form-group">
|
|
|
- <input type="number" class="form-control" name="claimTotalPaid">
|
|
|
- </div>
|
|
|
- <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
|
|
|
@endif
|
|
|
</div>
|
|
|
- <table class="table table-sm tabe-striped mb-3 border-left border-right border-bottom">
|
|
|
+ <table class="table table-sm tabe-striped mb-3 table-bordered">
|
|
|
<thead class="bg-light">
|
|
|
- <tr>
|
|
|
- <th></th>
|
|
|
- <th class="border-bottom-0 pl-3">HCP</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 pl-3">Billable</th>
|
|
|
- <th class="border-bottom-0 pl-2">Amount</th>
|
|
|
- <th class="border-bottom-0"></th>
|
|
|
+ <tr class="text-secondary">
|
|
|
+ <?php /* <th class="border-bottom-0"></th> */ ?>
|
|
|
+ <th class="border-bottom-0">Date</th>
|
|
|
+ <th class="border-bottom-0">Service</th>
|
|
|
+ <th class="border-bottom-0">HCP</th>
|
|
|
+ <th class="border-bottom-0">Billable</th>
|
|
|
+ <th class="border-bottom-0">Total</th>
|
|
|
+ <th class="border-bottom-0">Sign</th>
|
|
|
+ <th class="border-bottom-0">Bal Post Date</th>
|
|
|
+ <th class="border-bottom-0">Verification</th>
|
|
|
+ <th class="border-bottom-0">Cancellation</th>
|
|
|
+ <th class="border-bottom-0">Payment</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@foreach ($note->bills as $bill)
|
|
|
<tr>
|
|
|
- <td>
|
|
|
- <table class="table-striped table-sm table-condensed">
|
|
|
+ <?php /* <td class="p-0">
|
|
|
+ <table class="table-striped table-sm table-condensed border border-left-0 border-top-0 border-bottom-0">
|
|
|
<tbody>
|
|
|
- <tr>
|
|
|
<tr><td>collected_amount</td><td>{{$bill->collected_amount}}</td></tr>
|
|
|
<tr><td>effective_date</td><td>{{$bill->effective_date}}</td></tr>
|
|
|
<tr><td>has_hcp_been_paid</td><td>{{$bill->has_hcp_been_paid}}</td></tr>
|
|
|
<tr><td>hcp_expected_payment_amount</td><td>{{$bill->hcp_expected_payment_amount}}</td></tr>
|
|
|
<tr><td>hcp_payment_amount</td><td>{{$bill->hcp_payment_amount}}</td></tr>
|
|
|
<tr><td>is_cancelled</td><td>{{$bill->is_cancelled}}</td></tr>
|
|
|
-
|
|
|
<tr><td>hcp_payment_pro_transaction_id</td><td>{{$bill->hcp_payment_pro_transaction_id}}</td></tr>
|
|
|
-
|
|
|
-
|
|
|
<tr><td>balance_post_date</td><td>{{$bill->balance_post_date}}</td></tr>
|
|
|
<tr><td>is_verified</td><td>{{$bill->is_verified}}</td></tr>
|
|
|
<tr><td>is_cancellation_acknowledged</td><td>{{$bill->is_cancellation_acknowledged}}</td></tr>
|
|
|
<tr><td>is_cancelled_by_administrator</td><td>{{$bill->is_cancelled_by_administrator}}</td></tr>
|
|
|
<tr><td>total_expected</td><td>{{$bill->total_expected}}</td></tr>
|
|
|
<tr><td>total_paid</td><td>{{$bill->total_paid}}</td></tr>
|
|
|
-
|
|
|
- </tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
+ </td> */ ?>
|
|
|
+ <td class="text-nowrap">{{friendlier_date_time($bill->effective_date, false)}}</td>
|
|
|
+ <td>{{$bill->code}}</td>
|
|
|
+
|
|
|
+ <td class="">
|
|
|
+ <div class="text-nowrap font-weight-bold text-secondary">{{ $bill->hcp->displayName() }}</div>
|
|
|
+ <div class="text-nowrap mt-1">
|
|
|
+ <span class="text-secondary">Paid: </span>
|
|
|
+ <span>{{ $bill->has_hcp_been_paid ? 'Yes' : 'No' }}</span>
|
|
|
+ </div>
|
|
|
+ @if(!$bill->has_hcp_been_paid)
|
|
|
+ <div class="text-nowrap mt-1">
|
|
|
+ <span class="text-secondary">Expected: </span>
|
|
|
+ <span class="font-weight-bold">${{ $bill->hcp_expected_payment_amount }}</span>
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ <div class="text-nowrap mt-1">
|
|
|
+ <span class="text-secondary">Amount: </span>
|
|
|
+ <span class="font-weight-bold">${{ $bill->hcp_payment_amount }}</span>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
</td>
|
|
|
- <td class="pl-3">{{ $bill->hcp->displayName() }}</td>
|
|
|
- <td class="pl-3 {{ $bill->is_cancelled ? 'text-secondary' : '' }}">{{$bill->code}}</td>
|
|
|
- {{--<td class="pl-2">
|
|
|
- {{ $bill->reason1 }}
|
|
|
- <div class="text-secondary small">{{ $bill->reason2 }}</div>
|
|
|
- </td>--}}
|
|
|
- <td class="pl-3">
|
|
|
+
|
|
|
+ <td class="">
|
|
|
@if(strpos(strtolower($bill->code), 'treatment services') !== FALSE)
|
|
|
<?php
|
|
|
$totalSeconds = $bill->number_of_units * 3600;
|
|
@@ -563,163 +536,177 @@
|
|
|
@endif
|
|
|
@endif
|
|
|
</td>
|
|
|
- <td class="pl-2">
|
|
|
+ <td class="pr-3">
|
|
|
@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>
|
|
|
+ <span class="text-secondary">Paid. </span>
|
|
|
+ <span class="font-weight-bold text-success">${{ friendly_money($bill->total_paid) }}</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>
|
|
|
+ <span class="text-secondary">Exp. </span>
|
|
|
+ <span class="font-weight-bold text-dark">{{ $bill->total_expected ? '$' . friendly_money($bill->total_expected) : '-' }}</span>
|
|
|
@endif
|
|
|
</td>
|
|
|
<td>
|
|
|
- <div class="d-flex align-items-center">
|
|
|
- @if(!$bill->is_cancelled)
|
|
|
- @if($bill->is_signed_by_hcp)
|
|
|
- <span class="d-block text-secondary">
|
|
|
+ @if(!$bill->is_cancelled)
|
|
|
+ @if($bill->is_signed_by_hcp)
|
|
|
+ <span class="d-block text-secondary text-nowrap">
|
|
|
<i class="fa fa-check"></i>
|
|
|
HCP Signed
|
|
|
</span>
|
|
|
- @else
|
|
|
- <span moe
|
|
|
- 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' : '' }}">
|
|
|
- <a class="" href="" show start>Sign</a>
|
|
|
- <form url="/api/bill/signAsHcp">
|
|
|
- <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
- <p>Sign this bill as HCP?</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
|
|
|
-{{-- @if(!$bill->has_hcp_been_paid && $pro->pro_type === 'ADMIN')--}}
|
|
|
- @if($pro->pro_type === 'ADMIN')
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Submit Payment</a>
|
|
|
- <form url="/api/bill/payHcpAmount">
|
|
|
- <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>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
-
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Update Balance Post Date</a>
|
|
|
- <form url="/api/bill/updateBalancePostDate">
|
|
|
+ @else
|
|
|
+ <span moe
|
|
|
+ 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' : '' }}">
|
|
|
+ <a class="" href="" show start>Sign</a>
|
|
|
+ <form url="/api/bill/signAsHcp">
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
- <p>Update Balance Post Date</p>
|
|
|
+ <p>Sign this bill as HCP?</p>
|
|
|
<div class="mb-0">
|
|
|
- <input type="date" class="text form-control form-control-sm" name="balancePostDate" value="{{$bill->balance_post_date}}" placeholder="balance post date"><br>
|
|
|
- <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-success btn-sm" submit>Sign</button>
|
|
|
<button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</span>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
-
|
|
|
- @if(!$bill->is_verified)
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Mark As Verified</a>
|
|
|
- <form url="/api/bill/markAsVerified">
|
|
|
- <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
- <p>Mark As Verfified?</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>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- @endif
|
|
|
- @if($bill->is_verified)
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Undo Mark As Verified</a>
|
|
|
- <form url="/api/bill/undoMarkAsVerified">
|
|
|
- <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
- <p>Undo Mark As Verfified?</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>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- @endif
|
|
|
-
|
|
|
- @if($bill->is_cancelled && !$bill->is_cancellation_acknowledged)
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Acknowledge 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-success btn-sm" submit>Submit</button>
|
|
|
- <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </span>
|
|
|
- @endif
|
|
|
-
|
|
|
- @if($bill->is_cancellation_acknowledged)
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Undo Acknowledge Cancellation</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>
|
|
|
- </span>
|
|
|
- @endif
|
|
|
@endif
|
|
|
- @if($bill->is_cancelled)
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <span class="d-block text-secondary">
|
|
|
- Cancelled
|
|
|
- </span>
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Update Cancellation Memo</a>
|
|
|
- <form url="/api/bill/updateCancellationMemo">
|
|
|
+ @endif
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ @if(!$bill->is_cancelled)
|
|
|
+ <span class="d-block" moe>
|
|
|
+ <a class="" href="" show start>
|
|
|
+ {{$bill->balance_post_date ? friendlier_date_time($bill->balance_post_date, false) : '(not set)' }}
|
|
|
+ </a>
|
|
|
+ <form url="/api/bill/updateBalancePostDate">
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
+ <p>Update Balance Post Date</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <input type="date" class="text form-control form-control-sm" name="balancePostDate" value="{{$bill->balance_post_date}}" placeholder="balance post date"><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
|
|
|
+ </td>
|
|
|
+ <td> <!-- verification -->
|
|
|
+ @if($pro->pro_type === 'ADMIN' && !$bill->is_cancelled)
|
|
|
+ @if(!$bill->is_verified)
|
|
|
+ <div class="text-warning-mellow font-weight-bold">Not Verified</div>
|
|
|
+ <span class="d-block mt-1" moe>
|
|
|
+ <a href="" show start>Mark Verified</a>
|
|
|
+ <form url="/api/bill/markAsVerified">
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
- <p>Update Cancellation Memo</p>
|
|
|
+ <p>Mark As Verfified?</p>
|
|
|
<div class="mb-0">
|
|
|
- <input type="text" class="text form-control form-control-sm" name="updateCancellationMemo" value="{{$bill->cancellation_memo}}" placeholder=""><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
|
|
|
- <span class="mx-2 text-secondary">|</span>
|
|
|
- <span class="d-block" moe>
|
|
|
- <a class="text-danger" href="" show start>Cancel</a>
|
|
|
- <form url="/api/bill/markCancelled">
|
|
|
+ <div class="text-success font-weight-bold"><i class="fa fa-check"></i> Verified</div>
|
|
|
+ <span class="d-block mt-1" moe>
|
|
|
+ <a class="" href="" show start>Undo</a>
|
|
|
+ <form url="/api/bill/undoMarkAsVerified">
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
- <p>Cancel this bill?</p>
|
|
|
- <div class="mb-2">
|
|
|
- <label class="mb-1 text-secondary">Cancellation Memo</label>
|
|
|
- <input type="text" name="memo" placeholder="Memo">
|
|
|
- </div>
|
|
|
+ <p>Undo Mark As Verfified?</p>
|
|
|
<div class="mb-0">
|
|
|
- <button class="btn btn-danger btn-sm" submit>Yes</button>
|
|
|
- <button class="btn btn-default border btn-sm" cancel>No</button>
|
|
|
+ <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>
|
|
|
+ @endif
|
|
|
+ </td>
|
|
|
+ <td> <!-- cancellation -->
|
|
|
+ @if($bill->is_cancelled)
|
|
|
+ <div class="text-warning-mellow font-weight-bold">Cancelled</div>
|
|
|
+ @if($bill->is_cancelled_by_administrator)
|
|
|
+ <div class="text-secondary text-sm">(by Administrator)</div>
|
|
|
+ @endif
|
|
|
+ <div moe class="mt-1">
|
|
|
+ <a class="" href="" show start>Update Memo</a>
|
|
|
+ <form url="/api/bill/updateCancellationMemo">
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
+ <p>Update Cancellation Memo</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <input type="text" class="text form-control form-control-sm" name="updateCancellationMemo" value="{{$bill->cancellation_memo}}" placeholder=""><br>
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @else
|
|
|
+ <span class="d-block" moe relative="">
|
|
|
+ <a class="text-danger" href="" show start>Cancel</a>
|
|
|
+ <form url="/api/bill/markCancelled" right="">
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
+ <p class="mb-2">Cancel this bill?</p>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label class="mb-1 text-secondary">Cancellation Memo</label>
|
|
|
+ <input type="text" name="memo" placeholder="Memo" class="form-control form-control-sm">
|
|
|
+ </div>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-danger btn-sm" submit>Yes</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>No</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @endif
|
|
|
+
|
|
|
+ @if($bill->is_cancelled && !$bill->is_cancellation_acknowledged)
|
|
|
+ <div class="mt-2 text-secondary">
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
+ Not Acknowledged
|
|
|
+ </div>
|
|
|
+ <div class="d-block mt-1" 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-success 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)
|
|
|
+ <div class="mt-2 text-secondary">
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
+ Acknowledged
|
|
|
+ </div>
|
|
|
+ <div class="d-block mt-1" moe>
|
|
|
+ <a class="" href="" show start>Undo Cancellation Ack.</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
|
|
|
+
|
|
|
+ </td>
|
|
|
+ <td> <!-- submit payment -->
|
|
|
+ @if($pro->pro_type === 'ADMIN' && !$bill->is_cancelled)
|
|
|
+ <span class="d-block" moe relative="">
|
|
|
+ <a class="font-weight-bold" href="" show start>Submit Payment</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>
|
|
|
+ @endif
|
|
|
</td>
|
|
|
</tr>
|
|
|
@endforeach
|
|
@@ -741,6 +728,49 @@
|
|
|
<div class="d-flex align-items-center mb-2">
|
|
|
<p class="font-weight-bold text-secondary m-0">Claims</p>
|
|
|
@include('app/patient/note/_create-claim')
|
|
|
+ @if($pro->pro_type === 'ADMIN')
|
|
|
+ @if(!$note->is_claim_closed)
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
+ <span class="d-block" moe>
|
|
|
+ <a class="text-danger" href="" show start>Close Claiming</a>
|
|
|
+ <form url="/api/note/closeClaiming">
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
+ <p>Close claiming?</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>
|
|
|
+ @elseif($note->is_claim_closed)
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
+ <span class="d-block" moe>
|
|
|
+ <a class="text-danger" href="" show start>Reopen Claiming</a>
|
|
|
+ <form url="/api/note/reopenClaiming">
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
+ <p>Reopen claiming?</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>
|
|
|
+ <span class="mx-2 text-secondary">|</span>
|
|
|
+ <span class="d-block" moe>
|
|
|
+ <a class="text-danger" href="" show start>Update Claim Total Paid</a>
|
|
|
+ <form url="/api/note/updateClaimTotalPaid">
|
|
|
+ <input type="hidden" name="uid" value="{{$note->uid}}">
|
|
|
+ <div class="form-group">
|
|
|
+ <input type="number" class="form-control" name="claimTotalPaid">
|
|
|
+ </div>
|
|
|
+ <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
|
|
|
+ @endif
|
|
|
</div>
|
|
|
|
|
|
<table class="table table-sm tabe-striped mb-3 border-left border-right border-bottom">
|