Browse Source

Hided deprecated "ERx / Orders" from left nav

Vijayakrishnan 3 năm trước cách đây
mục cha
commit
664a67cc4c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>