@extends('layouts.admin.app') @section('page-title') {{ __('Log Reservations') }} @endSection @section('page-nav-title')

{{ __('Log Reservations') }}

@endsection @section('content') @include('includes.dialog')
@foreach($reservations as $reservation) @endforeach
{{ __('name') }} {{ __('phone-number') }} {{ __('description') }} {{ __('specialization') }} {{ __('status') }} {{ __('doctor') }} {{ __('date-from') }} {{ __('date-to') }} {{ __('time-from') }} {{ __('time-to') }} {{ __('attachments') }} {{ __('preferred-follow-up-method') }}
{{ $reservation->name }} {{ $reservation->phone_number }} {{ $reservation->description }} {{ $reservation->specialization->getNameAttribute() ?? "-----" }} {{ $reservation->status->status }} {{ $reservation->doctor ? $reservation->doctor->getNameAttribute() : '-----' }} {{ $reservation->date_from }} {{ $reservation->date_to }} {{ $reservation->time_from }} {{ $reservation->time_to }} @forelse ($reservation->attachments as $a) @if (str_contains($a->mime_type, 'image')) {{ $a->filename ?? __('file') }} @else {{ $a->filename }} @endif @empty ------ @endforelse {{ $reservation->follow_up_method ?? '------' }}
@endsection @section('scripts') @endsection