|
@@ -2,13 +2,15 @@
|
|
|
|
|
|
@section('inner-content')
|
|
|
|
|
|
+ <?php $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_create($patient->created_at))->invert === 1); ?>
|
|
|
+
|
|
|
<div id="notes-list-{{$patient->id}}">
|
|
|
<div class="pt-2 d-flex align-items-start">
|
|
|
<h6 class="my-0 text-secondary d-flex align-items-center w-100">
|
|
|
<span class="font-weight-bold text-secondary">Notes</span>
|
|
|
@if(true || $patient->latestClientPrimaryCoverage->is_covered == 'YES')
|
|
|
+ @if($isOldClient)
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
|
-
|
|
|
<div moe>
|
|
|
<a start show class="py-0 mb-3">Add</a>
|
|
|
<form url="/api/note/createUsingTemplate"
|
|
@@ -58,8 +60,8 @@
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
+ @endif
|
|
|
<span class="mx-2 text-secondary">|</span>
|
|
|
-
|
|
|
<div moe>
|
|
|
<a start show class="py-0 mb-3 text-info font-weight-bold">Add Visit</a>
|
|
|
<form url="/api/visit/create"
|