@extends('app') @section('content')

Doctor List

@can('doctor-create')   Add Doctor @endcan

@can('doctor-view')
@canany(['doctor-edit','doctor-update','doctor-remove']) @endcanany @if(count($doctors) > 0) @foreach($doctors as $key => $doctor) @endforeach @endif @canany(['doctor-edit','doctor-update','doctor-remove']) @endcanany
Doctor Name User Name Email Mobile Designation StatusAction
{{$doctor->user->full_name}} {{$doctor->user->user_name}} {{$doctor->user->email}} {{$doctor->user->mobile_no}} {{$doctor->designation ? $doctor->designation->designation_name : '-'}} @canany(['doctor-edit','doctor-update']) Set Doctor Commission @endcanany @can('doctor-remove') @endcan
Doctor Name User Name Email Contact Designation StationAction
@endcan
@endsection @section('script') @endsection