Kaynağa Gözat

Client single -show canvas migrate & canvas only for legacy clients

Vijayakrishnan 3 yıl önce
ebeveyn
işleme
a522b0f4c0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      resources/views/layouts/patient.blade.php

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

@@ -23,7 +23,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.dashboard') === 0 ? 'active' : '' }}" href="{{ route('patients.view.dashboard', ['patient' => $patient]) }}">Dashboard</a>
 					</li>
-					@if($performer->pro->pro_type == 'ADMIN')
+					@if($performer->pro->pro_type == 'ADMIN' && $isOldClient)
 					<li class="nav-item">
 						<a class="nav-link {{ strpos($routeName, 'patients.view.migrate-canvas') === 0 ? 'active' : '' }}" href="{{ route('patients.view.migrate-canvas', ['patient' => $patient]) }}">Canvas Migrate</a>
 					</li>