@extends('backend.admin-master') @section('style') @include('backend.partials.datatable.style-enqueue') @endsection @section('site-title') {{__('All Appointments')}} @endsection @section('content')

{{__('All Appointments')}}

@foreach($all_appointment as $data) @endforeach
{{__('ID')}} {{__('Title')}} {{__('Image')}} {{__('Price')}} {{__('Category')}} {{__('Booking Times')}} {{__('Appointment Status')}} {{__('Status')}} {{__('Action')}}
{{$data->id}} {{optional($data->lang)->title ?? __('untitled')}}
@php $event_img = get_attachment_image_by_id($data->image,'thumbnail',true); @endphp @if (!empty($event_img))
@endif
{{amount_with_currency_symbol($data->price)}} {{$data->category ? optional(optional($data->category)->lang)->title : __('Anonymous')}}
    @forelse($data->booking_time_ids as $time)
  • {{$time['time']}}
  • @empty
  • {{__('no time selected')}}
  • @endforelse
@endsection @section('script') @include('backend.partials.datatable.script-enqueue') @include('backend.partials.bulk-action',['action' =>route('admin.appointment.bulk.action') ]) @endsection