|
@@ -583,6 +583,36 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
|
|
|
@endif
|
|
|
</div>
|
|
|
|
|
|
+ <?php $currentCareMonth = $patient->currentCareMonth(); ?>
|
|
|
+ @if($currentCareMonth && $pro->id === $currentCareMonth->mcp_pro_id)
|
|
|
+ <div class="">
|
|
|
+ <?php $spoken = $currentCareMonth->has_anyone_interacted_with_client_about_rm_outside_note; ?>
|
|
|
+ <span class="">Communicated this month:</span>
|
|
|
+ <b class="{{$spoken ? 'text-success' : ''}}">
|
|
|
+ {{$spoken ? 'Yes' : 'No'}}
|
|
|
+ @if(!$spoken)
|
|
|
+ <i class="fa fa-exclamation-triangle"></i>
|
|
|
+ @else
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
+ @endif
|
|
|
+ </b>
|
|
|
+ @if($currentCareMonth->mcp && $pro->id === $currentCareMonth->mcp->id)
|
|
|
+ <div moe relative class="ml-1">
|
|
|
+ <a href="#" start show class="text-sm">Toggle</a>
|
|
|
+ <form url="/api/careMonth/setHasAnyoneInteractedWithClientAboutRmOutsideNoteTo{{$spoken ? 'False' : 'True'}}" right>
|
|
|
+ <input type="hidden" name="uid" value="{{$currentCareMonth->uid}}">
|
|
|
+ <p>Set to {{$spoken ? 'No' : 'Yes'}}?</p>
|
|
|
+ <div class="d-flex align-items-center">
|
|
|
+ <button class="btn btn-sm btn-primary mr-2" submit>Save</button>
|
|
|
+ <button class="btn btn-sm btn-default mr-2 border" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ @endif
|
|
|
+
|
|
|
+
|
|
|
</div>
|
|
|
</section>
|
|
|
<section class="hide-inside-popup screen-only vbox mt-2 align-self-start ml-3 pl-3 border-left mcp-theme-1">
|