Ver Fonte

Bring back client programs feature

Vijayakrishnan há 4 anos atrás
pai
commit
615bc872d9

+ 2 - 2
resources/views/app/patient/dashboard.blade.php

@@ -57,9 +57,9 @@
                 </div>
 
                 {{-- programs --}}
-                {{-- @if($pro->pro_type == 'ADMIN')
+                @if($pro->pro_type == 'ADMIN')
                     @include('app/patient/partials/programs')
-                @endif --}}
+                @endif
 
                 {{-- devices --}}
                 <?php $availableDevices = 0; ?>

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

@@ -17,10 +17,10 @@
                             <a class="nav-link {{ strpos($routeName, 'patients.view.calendar') === 0 ? 'active' : '' }}"
                                href="{{ route('patients.view.calendar', ['patient' => $patient]) }}">Calendar</a>
                         </li>
-                        {{--<li class="nav-item">
+                        <li class="nav-item">
                             <a class="nav-link {{ strpos($routeName, 'patients.view.programs') === 0 ? 'active' : '' }}"
                                href="{{ route('patients.view.programs', ['patient' => $patient]) }}">Programs</a>
-                        </li>--}}
+                        </li>
                         <li class="nav-item">
                             <a class="nav-link {{ strpos($routeName, 'patients.view.care-months') === 0 ? 'active' : '' }}"
                                href="{{ route('patients.view.care-months', ['patient' => $patient]) }}">Care Months</a>