@extends('voyager::master') @section('page_title', __('voyager::generic.viewing').' '.$dataType->getTranslatedAttribute('display_name_plural')) @section('page_header')

{{ $dataType->getTranslatedAttribute('display_name_plural') }}

@can('add', app($dataType->model_name)) {{ __('voyager::generic.add_new') }} @endcan @can('delete', app($dataType->model_name)) @include('voyager::partials.bulk-delete') @endcan @can('edit', app($dataType->model_name)) @if(!empty($dataType->order_column) && !empty($dataType->order_display_column)) {{ __('voyager::bread.order') }} @endif @endcan @can('delete', app($dataType->model_name)) @if($usesSoftDeletes) @endif @endcan @foreach($actions as $action) @if (method_exists($action, 'massAction')) @include('voyager::bread.partials.actions', ['action' => $action, 'data' => null]) @endif @endforeach @include('voyager::multilingual.language-selector')
@stop @section('content')
@include('voyager::alerts')
@if ($isServerSide) @endif
{{-- --}} {{-- --}} @foreach ($dataTypeContent as $booking) @php $payment_method = json_decode($booking->payment_method, true); $bookings = json_decode($booking->booking, true); $event = \App\Models\Event::where(['id' => $bookings[0]['event_id']])->first(); @endphp {{-- --}} {{-- --}} @endforeach
@lang('eventmie-pro::em.order_id') @lang('eventmie-pro::em.event') @lang('eventmie-pro::em.event') @lang('eventmie-pro::em.start_date') @lang('eventmie-pro::em.amount')@lang('eventmie-pro::em.booking')@lang('eventmie-pro::em.customer')@lang('eventmie-pro::em.email')@lang('eventmie-pro::em.payment_gateway') @lang('eventmie-pro::em.booking_date') @lang('eventmie-pro::em.update') @lang('eventmie-pro::em.date') @lang('eventmie-pro::em.actions')
{{ $booking->orderId }} {{ $payment_method['event_title'] }} {{ userTimezone($bookings[0]['event_start_date'].' '.$bookings[0]['event_start_time'], 'Y-m-d H:i:s', format_carbon_date(true)) }} @if( !empty($event->timezone)) {{ showTimezone( $event->timezone) }} @endif {{ collect($bookings)->sum('net_price') }}{{$booking->booking }}{{ $payment_method['customer_name'] }}{{ $payment_method['customer_email'] }} @if($payment_method['payment_method'] == '8') World Pay @endif @if($payment_method['payment_method'] == '5' || $payment_method['payment_method'] == '2') Stripe @endif {{ userTimezone($booking['created_at'], 'Y-m-d H:i:s', format_carbon_date(true)) }} @if( !empty($event->timezone)) {{ showTimezone( $event->timezone) }} @endif {{ userTimezone($booking['updated_at'], 'Y-m-d H:i:s', format_carbon_date(true)) }} @if( !empty($event->timezone)) {{ showTimezone( $event->timezone) }} @endif
@if ($isServerSide)
{{ trans_choice( 'voyager::generic.showing_entries', $dataTypeContent->total(), [ 'from' => $dataTypeContent->firstItem(), 'to' => $dataTypeContent->lastItem(), 'all' => $dataTypeContent->total() ]) }}
{{ $dataTypeContent->appends([ 's' => $search->value, 'filter' => $search->filter, 'key' => $search->key, 'order_by' => $orderBy, 'sort_order' => $sortOrder, 'showSoftDeleted' => $showSoftDeleted, ])->links() }}
@endif
{{-- Single delete modal --}} @stop @section('css') @if(!$dataType->server_side && config('dashboard.data_tables.responsive')) @endif @stop @section('javascript') @if(!$dataType->server_side && config('dashboard.data_tables.responsive')) @endif @stop