@extends('admin.layout') @php $selLang = \App\Language::where('code', request()->input('language'))->first(); @endphp @if(!empty($selLang) && $selLang->rtl == 1) @section('styles') @endsection @endif @section('content')
Event Bookings
@if (count($events) == 0)

NO LOG FOUND

@else
@foreach ($events as $key => $event) @endforeach
Ticket ID Event Amount Payment Receipt Actions
{{convertUtf8(strlen($event->transaction_id)) > 30 ? convertUtf8(substr($event->transaction_id, 0, 30)) . '...' : convertUtf8($event->transaction_id)}} {{strlen($event->event->title) > 30 ? mb_substr($event->event->title,0,30,'utf-8') . '...' : $event->event->title}} {{$event->currency_symbol . ' ' . convertUtf8($event->amount)}} @if(json_decode($event->transaction_details) !== "offline") @if ($event->status == 'Pending') Pending @elseif ($event->status == 'Success') Success @endif @else
@csrf
@endif
@if (!empty($event->receipt)) Show @else - @endif @if (!empty($event->name !== "anonymous")) Detail @else - @endif
@csrf
@endif
@endsection @section('scripts') @endsection