@extends('admin.layout') @section('content')
@if (count($bookings) > 0)
@foreach ($bookings as $key => $booking) @endforeach
Ticket ID Name Email Phone Event Amount Quantity Gateway Payment Status Date
#{{$booking->transaction_id}} {{$booking->name}} {{$booking->email}} {{$booking->phone}} {{strlen($booking->event->title) > 20 ? mb_substr($booking->event->title,0,20,'utf-8') . '...' : $booking->event->title}} {{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}}{{$booking->amount}}{{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}} {{$booking->quantity}} {{$booking->payment_method}} @if (strtolower($booking->status) == 'pending') Pending @elseif (strtolower($booking->status) == 'success') Success @elseif (strtolower($booking->status) == 'rejected') Rejected @endif {{$booking->created_at}}
@endif
@if (!empty($bookings)) @endif
@endsection