浏览代码

Hided deprecated "ERx / Orders" from left nav

Vijayakrishnan 3 年之前
父节点
当前提交
664a67cc4c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/views/layouts/patient.blade.php

+ 1 - 1
resources/views/layouts/patient.blade.php

@@ -135,7 +135,7 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
 					<li class="nav-item">
 						<a class="nav-link {{ strpos($routeName, 'patients.view.patient-tickets') === 0 && @$type === '' ? 'active' : '' }}" href="{{ route('patients.view.patient-tickets', ['patient' => $patient, 'type' => '']) }}">Tickets</a>
 					</li>
-					@if($isOldClient)
+					@if($isOldClient && 0)
 					<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
 							<span class="text-secondary text-sm pl-2">(dep)</span>