@extends('admin.dashboard.layouts.app') @section('main')

Appointments

{{-- @if (Auth::user()->role == 'receptionist')
@method('POST') @csrf
@error('appointment_date') {{$message}} @enderror
@error('doctor_name') {{$message}} @enderror
@endif --}}
{{-- --}} @php $sl = 1; @endphp @foreach ($appointments as $appointment) {{-- --}} @endforeach
#SL Serial Number Appointment Time Appointment Date Doctor Name Doctor BMDC Patient Name Patient Age Patient Gender Patient Problem Patient AddressAction
{{$sl++}} {{$appointment->patient_serial}} {{$appointment->time}} {{$appointment->date}} {{$appointment->doctor->d_name}} {{$appointment->doctor->d_bmdc}} {{$appointment->patient_name}} {{ $appointment->patient_age }} {{$appointment->patient_gender}} {{$appointment->patient_problem}} {{$appointment->patient_address}}
@method('DELETE') @csrf
#SL Status Appointment Time Appointment Date Doctor Name Doctor BMDC Patient Name Patient Age Patient Gender Patient Problem Patient Address
{{ $appointments->links() }}
@endsection