@extends('Layout::empty') @section('head')
{{$booking->service->title ?? ''}}
{{$booking->service->address ??''}}
@if(!request()->query('signature')) @endif
{{__("Date")}}
{{display_date($booking->start_date)}}
{{__("Price")}}
{{format_money($booking->total)}}
@if($booking->getMeta("booking_type") == "ticket")
{{__("Ticket")}}
@if($meta = $booking->getMeta('ticket_types') and !empty(json_decode($meta,true)))
    @foreach(json_decode($meta,true) as $ticket_type) @if(!empty($ticket_type['number']))
  • {{$ticket_type['name'] ?? ''}} x {{$ticket_type['number']}}
  • @endif @endforeach
@endif
@endif @if($booking->getMeta("booking_type") == "time_slot")
{{__("Start Time")}}
@if(!empty($timeSlots = $booking->time_slots)) @foreach( $timeSlots as $item )
{{ date( "H:i",strtotime($item->start_time)) }}
@endforeach @endif
@endif
{{__("Customer")}}
{{$booking->first_name}} {{$booking->last_name}}
{{$booking->email}}
{{$booking->phone}}
@endsection @section('footer') @endsection