@extends('layouts.admin') @section('content')

appointments

@if(count($viewData['appointments']) > 0) @foreach($viewData['appointments'] as $appointment) @endforeach
User Date Time Attended Edit Delete
{{ $appointment->user->name }} {{ $appointment->input_date }} {{ $appointment->radio_selection }} {{ $appointment->user_id }}
@csrf @method('DELETE')
@else

No appointments available.

@endif
@endsection