@auth
@if (auth()->user()->type == 'admin' or auth()->user()->type == 'manager')
@component('components.table-header')
@slot('title')
Doctors List
@endslot
@slot('li_1')
{{ url('add-doctor') }}
@endslot
@endcomponent
@endif
@endauth
@guest
@component('components.table-header')
@slot('title')
Doctors List
@endslot
@slot('li_1')
{{ url('add-appointment') }}
@endslot
@endcomponent
@endguest
|
|
Name | Department | Specialization | @auth @if (auth()->user()->type == 'admin' or auth()->user()->type == 'manager')Degree | Mobile | Joining Date | @endif @endauth | |
|---|---|---|---|---|---|---|---|---|
|
|
{{ $doctor['Department'] }} | {{ $doctor['Specialization'] }} | @auth @if (auth()->user()->type == 'admin' or auth()->user()->type == 'manager'){{ $doctor['Degree'] }} | {{ $doctor['Mobile'] }} | {{ $doctor['Email'] }} | {{ $doctor['JoiningDate'] }} | @endif @endauth |