@extends('layouts.layout') @section('content')
@can('doctor-detail-create')

+ @lang('Add Doctor')

@endcan

@lang('Doctor List')

@lang('Export')
@if(request()->isFilterActive) @lang('Clear') @endif
@foreach ($doctorDetails as $doctorDetail) @endforeach
@lang('ID') @lang('Name') @lang('Email') @lang('Phone') @lang('Department') @lang('Status') @lang('Actions')
{{ $doctorDetail->user->id }} {{ $doctorDetail->user->name }} {{ $doctorDetail->user->email }} {{ $doctorDetail->user->phone }} {{ $doctorDetail->hospitalDepartment->name }} @if($doctorDetail->user->status == 1) @lang('Active') @else @lang('Inactive') @endif    @can('doctor-detail-update')    @endcan @can('doctor-detail-delete') @endcan
{{ $doctorDetails->withQueryString()->links() }}
@include('layouts.delete_modal') @endsection