@extends('backend.layout') @section('content')
{{ __('Booking ID') }} | {{ __('Event') }} | {{ __('Username') }} | {{ __('Paid via') }} | {{ __('Payment Status') }} | {{ __('Attachment') }} | {{ __('Actions') }} | |
---|---|---|---|---|---|---|---|
{{ '#' . $booking->booking_id }} | @php $eventInfo = \App\Models\Event\EventContent::where('language_id', $defaultLang->id)->first(); $title = $eventInfo->title; $slug = $eventInfo->slug; @endphp{{ strlen($title) > 35 ? mb_substr($title, 0, 35, 'utf-8') . '...' : $title }} | @php $customer = $booking->customerInfo()->first(); @endphp{{ $customer->fname }} {{ $customer->lname }} | {{ !is_null($booking->paymentMethod) ? $booking->paymentMethod : '-' }} |
@if ($booking->gatewayType == 'online')
{{ __('Completed') }}@elseif ($booking->gatewayType == 'offline') @else - @endif |
@if (!is_null($booking->attachmentFile)) {{ __('Show') }} @else - @endif |
|