|
@@ -260,9 +260,15 @@
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@if($careMonth->showMeasurementDaysWarning())
|
|
@if($careMonth->showMeasurementDaysWarning())
|
|
- <div class="alert alert-warning p-2 mt-1">
|
|
|
|
- Need <b>{{16 - $careMonth->number_of_days_with_remote_measurements}} more days</b> with measurements before RM becomes billable.
|
|
|
|
- </div>
|
|
|
|
|
|
+ <?php
|
|
|
|
+ $moreDays = 16 - $careMonth->number_of_days_with_remote_measurements;
|
|
|
|
+ if($moreDays < 0) $moreDays = 0;
|
|
|
|
+ ?>
|
|
|
|
+ @if($moreDays > 0)
|
|
|
|
+ <div class="alert alert-warning p-2 mt-1">
|
|
|
|
+ Need <b>{{$moreDays}} more day{{$moreDays !== 1 ? 's' : ''}}</b> with measurements before RM becomes billable.
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
@endif
|
|
@endif
|
|
|
|
|
|
<div class="mt-2">
|
|
<div class="mt-2">
|
|
@@ -336,13 +342,13 @@
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
|
|
|
|
- @if(($daysDiff !== -1 && $daysDiff <= 90) &&
|
|
|
|
|
|
+ {{--@if(($daysDiff !== -1 && $daysDiff <= 90) &&
|
|
$careMonth->number_of_days_with_remote_measurements >= 16 &&
|
|
$careMonth->number_of_days_with_remote_measurements >= 16 &&
|
|
$careMonth->has_mcp_interacted_with_client_about_rm)
|
|
$careMonth->has_mcp_interacted_with_client_about_rm)
|
|
<div class="mt-2 border border-info p-2">
|
|
<div class="mt-2 border border-info p-2">
|
|
@include('app.rm-bills.inline', ['patient' => $patient, 'entityType' => 'CareMonth', 'entityUid' => $careMonth->uid, 'label' => 'RM'])
|
|
@include('app.rm-bills.inline', ['patient' => $patient, 'entityType' => 'CareMonth', 'entityUid' => $careMonth->uid, 'label' => 'RM'])
|
|
</div>
|
|
</div>
|
|
- @endif
|
|
|
|
|
|
+ @endif--}}
|
|
|
|
|
|
<div class="mt-2">
|
|
<div class="mt-2">
|
|
{{-- rm reasons --}}
|
|
{{-- rm reasons --}}
|
|
@@ -1824,10 +1830,10 @@
|
|
|
|
|
|
<hr class="m-negator my-3">
|
|
<hr class="m-negator my-3">
|
|
|
|
|
|
- {{-- generic bills --}}
|
|
|
|
|
|
+ {{-- generic bills --}}{{--
|
|
<div class="row">
|
|
<div class="row">
|
|
@include('app.generic-bills.inline', ['patient' => $patient, 'class' => 'col-12', 'entityType' => 'CareMonth', 'entityUid' => $careMonth->uid])
|
|
@include('app.generic-bills.inline', ['patient' => $patient, 'class' => 'col-12', 'entityType' => 'CareMonth', 'entityUid' => $careMonth->uid])
|
|
- </div>
|
|
|
|
|
|
+ </div>--}}
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|