@extends("layouts.admin.app") @section("page-title") @endSection @section("page-nav-title")

{{__("consultant")}}

{{__("edit consultant")}}

@endsection @section("content")

{{__("Edit Consultant")}}

@csrf
@error("full_name")
{{$message}}
@enderror
@error("phone_number")
{{$message}}
@enderror
@error("email")
{{$message}}
@enderror
@error("specialization")
{{$message}}
@enderror


@foreach($consultant_account as $account) @if($account->account_name!=null) @endif @endforeach
{{__("Account Name")}} {{__("Account Number")}} {{__("Account Information")}} {{__("Account Type")}} {{__("Action")}}
{{$account->account_name}} {{$account->account_number}} {{$account->account_information}} @if(!is_null($account->consultantAccount)){{$account->consultantAccount->name_en}}@endif id)}}" class="control-link edit"> $account->id]) }}" method="post" id="delete{{$account->id}}" style="display: none" data-swal-title="{{ __("Delete Account") }}" data-swal-text="{{ __("Are You Sure To Delete This Account ?") }}" data-yes="{{ __("Yes") }}" data-no="{{ __("No") }}" data-success-msg="{{ __("The Account has been deleted successfully") }}"> @csrf @method("post")

@foreach($time_slot_types as $index => $type) @endforeach
{{__("Waiting Duration")}} {{__("Slot Duration")}} {{__("Date From")}} {{__("Date To")}} {{__("Details")}} {{__("Action")}}
{{$type->wating_time}} {{$type->slot_duration}} {{$type->date_from}} {{$type->date_to}} {{__("Details")}}

@error("Consultant_image")
{{$message}}
@enderror
@if(!is_null($consultant->getFirstMediaFile("Doctors")))url}}" alt="" width="150px">@endif
@error("doctor_image")
{{$message}}
@enderror
@endsection @section("scripts") @endsection