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

{{ __('Reservation Logs') }}

@endsection @section('content') @include('includes.dialog')
@if ($data->isEmpty())

{{ __('There are No New Reservations !!') }}

@else {{--
--}} {{-- {{__('Print PDF')}} --}} {{--
--}}
@foreach ($data as $r) @endforeach @endif
{{ __('name') }} {{ __('phone-number') }} {{ __('description') }} {{ __('service') }} {{ __('status') }} {{ __('doctor') }} {{ __('date-from') }} {{ __('date-to') }} {{ __('time-from') }} {{ __('time-to') }} {{ __('attachments') }} {{ __('preferred-follow-up-method') }} {{ __('control') }}
{{ $r->name }} {{ $r->phone_number }} {{ $r->description }} {{ app()->getLocale() === 'en' ? $r->service->en_title : $r->service->ar_title }} {{ __($r->status->status) }} {{ app()->getLocale() === 'en' ? $r->doctor->name_en ?? '------' : $r->doctor->name_ar ?? '------' }} {{ $r->date_from }} {{ $r->date_to }} {{ $r->time_from }} {{ $r->time_to }} @if (count($r->attachments)) @foreach ($r->attachments as $a) url }} target="_blank"> @if (str_contains($a->mime_type, 'image')) {{filename ?? __('file') }} width="64px" height="64px"> @else {{ $a->filename }} @endif @endforeach @else ------ @endif {{ $r->follow_up_method ?? '------' }}
@endsection @section('scripts') @endsection