@foreach($order->orderChild as $ticket)
@php $qrCode = base64_encode(QrCode::size(200)->generate($ticket->ticket_number)) @endphp
{{$order->event->name}}

Start Date :{{$order->event->start_time->format('d F Y').', '.$order->event->start_time->format('h:i a')}}

End Date :{{$order->event->end_time->format('d F Y').', '.$order->event->end_time->format('h:i a')}}

Address :{{$order->event->type=="online"?'Online Event':$order->event->address}}

Organizer :{{$order->organization->first_name.' '.$order->organization->last_name}}

Contact :{{$order->organization->phone}}

Ticket : {{$ticket->ticket_number}}
{{$order->customer->name.' '.$order->customer->last_name}}

Payment method :{{$order->payment_type}}

@if($ticket->status==1) @endif
@endforeach