@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("specialists")}}

@endsection @section("content") @include("includes.dialog")
@foreach($specialists as $specialist) @php $exists =(\App\Models\TimeSlotType::where('specialist_id',$specialist->id)->exists()) @endphp @endforeach
{{__("name")}} {{__("phone-number")}} {{__("email")}} {{__("specialization")}} {{__("Image")}} {{__("Schedule")}} {{__("Show Appointments")}} {{__("Control")}}
{{$specialist->full_name}} {{$specialist->phone_number}} {{$specialist->email}} @if(app()->getLocale() == 'ar') {{$specialist->specialization_ar}} @else {{$specialist->specialization_en}} @endif @if($specialist->image != null)@endif @if($exists) Edit @else Create @endif Show Appointments id)}}" class="control-link edit">
$specialist->id])}}" method="post" id="delete{{$specialist->id}}" style="display: none" data-swal-title="{{__("Delete")}}" data-swal-text="{{__("Are Your Sure To Delete This Data ?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__('the Data has been deleted successfully')}}">@csrf @method("delete")
@endsection @section("scripts") @endsection