@extends('common.dashboard') @section('title','Doctors View') @section('content')

Doctor data-table

@include('common/doctor/search_form')
@foreach($doctors as $key=>$doctor) @endforeach
#PhotoFull NameSex Education Reg. No Modify
{{$key+1}} @if(strpos($doctor->photo, 'images') !== false) @if($doctor->add_by== null && strpos($doctor->photo, 'images') !== false) @endif @else @endif {{$doctor->full_name}} {{$doctor->sex}} @if( strlen(strip_tags($doctor->education))>40 )

{{mb_substr(strip_tags($doctor->education),0,40)}} ...

@else {!! strip_tags($doctor->education) !!} @endif
{{$doctor->reg}} chamber: {{$doctor->chambers->count()}}  


{{$doctors->links()}}
@endsection