@extends('layouts.app') @section('title', 'Doctors') @section('pages')
@csrf @method('patch')
Doctor Details

{{-- Doctor Name --}}
@if ($errors->has('account_id')) {{ $errors->first('account_id') }} @endif
{{-- else --}} {{--
@if ($errors->has('account_id')) {{ $errors->first('account_id') }} @endif
--}} {{-- Appointment Schedule --}}
{{-- Organization Department --}}
@php $days = explode(',', $doc->organization_department_id); @endphp
Additional Information
Add Additional Information
{{-- Specialist In --}} {{-- Medical License No --}} {{-- API Salt Key --}} {{-- Priority --}}
@php $doctor_shift_ids = explode(',', $doctor_shifts->shifts); $doctor_days = explode(',', $doctor_days->days) ?? []; @endphp @if(count($appointment_shifts) > 0) @foreach ($appointment_shifts as $key => $shift) @endforeach @endif
# Shifts (Allow All Shifts) Status
{{$key+1}} {{ ucfirst($shift->name) }} id, $doctor_shift_ids) ? 'checked' : '' !!} name="shift_id[]" value="{{$shift->id}}">
@foreach (daysOfWeek() as $key => $day) @endforeach
# Days (Allow All Days) Status
{{$key+1}} {!! $day !!}
@endsection @section('js') @endsection