|
@@ -6,6 +6,7 @@
|
|
|
$trimLayout = true;
|
|
|
$routeName = request()->route()->getName();
|
|
|
$isVisitNote = ($routeName === 'patients.view.notes.view.dashboard' && @$note && !!$note->visitTemplate);
|
|
|
+$isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_create($patient->created_at))->invert === 1);
|
|
|
?>
|
|
|
<style media="screen">
|
|
|
.pt-name {
|
|
@@ -147,6 +148,7 @@ $isVisitNote = ($routeName === 'patients.view.notes.view.dashboard' && @$note &&
|
|
|
</ul>
|
|
|
*/ ?>
|
|
|
</li>
|
|
|
+ @if($isOldClient)
|
|
|
<li class="nav-item">
|
|
|
<a class="nav-link {{ strpos($routeName, 'patients.view.patient-tickets') === 0 ? 'active' : '' }}"
|
|
|
href="{{ route('patients.view.patient-tickets', ['patient' => $patient]) }}" title="Deprecated">ERx / Orders
|
|
@@ -175,6 +177,7 @@ $isVisitNote = ($routeName === 'patients.view.notes.view.dashboard' && @$note &&
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
+ @endif
|
|
|
<li class="nav-item">
|
|
|
<a class="nav-link {{ strpos($routeName, 'patients.view.supply-orders') === 0 ? 'active' : '' }}"
|
|
|
href="{{ route('patients.view.supply-orders', ['patient' => $patient]) }}">Supply Orders</a>
|