|
@@ -75,7 +75,26 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
@endif
|
|
|
<td>{{$bill->code}}
|
|
|
@if($bill->generic_description)
|
|
|
- <pre class="mb-0 text-sm text-secondary font-italic">{!! $bill->generic_description !!}</pre>
|
|
|
+ <pre class="max-width-300px text-wrap mb-0 text-sm text-secondary font-italic">{!! preg_replace('#<br\s*/?>#i', "\n", $bill->generic_description) !!}</pre>
|
|
|
+ @endif
|
|
|
+ @if(!$bill->is_signed_by_generic_pro)
|
|
|
+ <div moe wide>
|
|
|
+ <a href="#" start show class="text-nowrap text-sm">Edit Description</a>
|
|
|
+ <form url="/api/bill/putGenericDescription">
|
|
|
+ <input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
+ <p>Edit Description</p>
|
|
|
+ <div class="mb-2">
|
|
|
+ <textarea class="text form-control form-control-sm"
|
|
|
+ rows="5"
|
|
|
+ name="genericDescription"
|
|
|
+ placeholder="">{{$bill->generic_description ? preg_replace('#<br\s*/?>#i', "\n", $bill->generic_description) : ''}}</textarea>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <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
|
|
|
</td>
|
|
|
<td class="">
|
|
@@ -93,7 +112,7 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
?>
|
|
|
{{ time_in_hrminsec($totalSeconds) }}
|
|
|
</td>
|
|
|
- <td class="pr-3 screen-only">
|
|
|
+ <td class="pr-3 screen-only text-nowrap">
|
|
|
@if($bill->has_generic_pro_been_paid)
|
|
|
<span class="text-secondary">Paid. </span>
|
|
|
<span class="font-weight-bold">${{ round($bill->total_paid, 2) }}</span>
|
|
@@ -113,7 +132,7 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
<div moe
|
|
|
class="d-block {{ $bill->generic_pro_id !== $pro->id ? 'moe-disabled' : '' }}"
|
|
|
title="{{ $bill->generic_pro_id !== $pro->id ? 'Only the bill\'s pro can sign' : '' }}">
|
|
|
- <a class="" href="" show start>Sign As Pro</a>
|
|
|
+ <a class="text-nowrap" href="" show start>Sign As Pro</a>
|
|
|
<form url="/api/bill/signAsGenericPro">
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
<p>Sign this bill as pro?</p>
|
|
@@ -133,10 +152,10 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
<div class="text-dark text-sm font-italic my-1">{{$bill->cancellation_memo}}</div>
|
|
|
@endif
|
|
|
@if($bill->is_cancelled_by_administrator)
|
|
|
- <div class="text-secondary text-sm">(by Administrator)</div>
|
|
|
+ <div class="text-secondary text-sm text-nowrap">(by Administrator)</div>
|
|
|
@endif
|
|
|
<div moe class="mt-1">
|
|
|
- <a class="" href="" show start>Update Memo</a>
|
|
|
+ <a class="text-nowrap" href="" show start>Update Memo</a>
|
|
|
<form url="/api/bill/updateCancellationMemo">
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
<p>Update Cancellation Memo</p>
|
|
@@ -169,12 +188,12 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
@endif
|
|
|
|
|
|
@if($bill->is_cancelled && !$bill->is_cancellation_acknowledged)
|
|
|
- <div class="mt-2 text-secondary">
|
|
|
+ <div class="mt-2 text-secondary text-nowrap">
|
|
|
<i class="fa fa-exclamation-triangle"></i>
|
|
|
Not Ack.
|
|
|
</div>
|
|
|
<div class="d-block mt-1" moe>
|
|
|
- <a class="" href="" show start>Ack. Cancellation</a>
|
|
|
+ <a class="text-nowrap" href="" show start>Ack. Cancellation</a>
|
|
|
<form url="/api/bill/acknowledgeCancellation">
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
<p>Acknowledge Cancellation?</p>
|
|
@@ -193,7 +212,7 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
Ack.
|
|
|
</div>
|
|
|
<div class="d-block mt-1" moe>
|
|
|
- <a class="" href="" show start>Undo Cancellation Ack.</a>
|
|
|
+ <a class="text-nowrap" 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>
|
|
@@ -210,9 +229,9 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
<td> <!-- verification -->
|
|
|
@if(!$bill->is_cancelled)
|
|
|
@if(!$bill->is_verified)
|
|
|
- <div class="text-warning-mellow font-weight-bold">Not Verified</div>
|
|
|
+ <div class="text-warning-mellow font-weight-bold text-nowrap">Not Verified</div>
|
|
|
@else
|
|
|
- <div class="text-info font-weight-bold"><i class="fa fa-check"></i> Verified</div>
|
|
|
+ <div class="text-info font-weight-bold text-nowrap"><i class="fa fa-check"></i> Verified</div>
|
|
|
@endif
|
|
|
@endif
|
|
|
</td>
|
|
@@ -221,7 +240,7 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
<td> <!-- verification -->
|
|
|
@if(!$bill->is_cancelled)
|
|
|
@if(!$bill->is_verified)
|
|
|
- <div class="text-warning-mellow font-weight-bold">Not Verified</div>
|
|
|
+ <div class="text-warning-mellow font-weight-bold text-nowrap">Not Verified</div>
|
|
|
<div class="d-block mt-1" moe>
|
|
|
<a href="" show start>Mark Verified</a>
|
|
|
<form url="/api/bill/markAsVerified">
|
|
@@ -254,7 +273,7 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
|
|
|
@if(!$bill->is_cancelled && !$bill->has_generic_pro_been_paid )
|
|
|
@if(+$bill->total_expected && $bill->is_signed_by_generic_pro)
|
|
|
<div class="d-block" moe relative="">
|
|
|
- <a class="font-weight-bold" href="" show start>Submit Payment</a>
|
|
|
+ <a class="font-weight-bold text-nowrap" href="" show start>Submit Payment</a>
|
|
|
<form url="/api/bill/payGenericProAmount" right>
|
|
|
<input type="hidden" name="uid" value="{{$bill->uid}}">
|
|
|
<p>Submit Payment</p>
|