@extends('backend.admin-master')
@section('site-title')
{{__('Appointments Booking Details')}}
@endsection
@section('content')
- {{__('ID')}} : #{{$booking_details->id}}
- {{__('Name')}} : {{$booking_details->name}}
- {{__('Email')}} : {{$booking_details->email}}
- {{__('Appointment Title')}} : {{$booking_details->appointment->title ?? __('Untitled')}}
- {{__('Appointment Fee')}} : {{$booking_details->total}}
- {{__('Appointment Date')}} : {{date('D,d F Y',strtotime($booking_details->booking_date))}}
- {{__('Appointment Time')}} : {{$booking_details->booking_time->time ?? __('Not Set')}}
- {{__('Payment Gateway')}} : {{$booking_details->payment_gateway}}
- {{__('Payment Status')}} : {{$booking_details->payment_status}}
@if($booking_details->payment_status === 'complete')
- {{__('Transaction ID')}} : {{$booking_details->transaction_id}}
@endif
- {{__('Booking Status')}} : {{$booking_details->status}}
@if(count($booking_details->custom_fields) > 0)
- {{__('Custom Fields')}} :
@foreach($booking_details->custom_fields as $key => $item)
@if(in_array($key,['name','email','appointment_id','selected_payment_gateway','booking_time','booking_date']))
@continue
@endif
- {{str_replace(['_','-'],[' ',' '],$key)}} : {{$item}}
@endforeach
@endif
@if(count($booking_details->all_attachment) > 0)
- {{__('Attachments')}} :
@foreach($booking_details->all_attachment as $key => $item)
- {{str_replace(['_','-'],[' ',' '],$key)}} :
{{$item}}
@endforeach
@endif
@endsection