@extends('organizer.layout') @section('content')
{{ __('Booking ID') }} | {{ __('Event') }} | {{ __('Customer') }} | {{ __('Cust. Paid') }} | {{ __('Org. Received') }} | {{ __('Paid via') }} | {{ __('Payment Status') }} | {{ __('Tickect Scan Status') }} | {{ __('Actions') }} | |
---|---|---|---|---|---|---|---|---|---|
{{ '#' . $booking->booking_id }} | @php $eventInfo = \App\Models\Event\EventContent::where('language_id', $defaultLang->id) ->where('event_id', $booking->event_id) ->first(); $title = $eventInfo ? $eventInfo->title : ''; $slug = $eventInfo ? $eventInfo->slug : ''; @endphp@if ($eventInfo) {{ strlen($title) > 30 ? mb_substr($title, 0, 30, 'utf-8') . '...' : $title }} @else {{ '-' }} @endif | @php $customer = $booking->customerInfo()->first(); @endphp{{ $customer->fname }} {{ $customer->lname }} | @php $position = $booking->currencyTextPosition; $symbol = $booking->currencySymbol; @endphp{{ $position == 'left' ? $symbol . ' ' : '' }}{{ $booking->price + $booking->tax }}{{ $position == 'right' ? ' ' . $symbol : '' }} | {{ $position == 'left' ? $symbol . ' ' : '' }}{{ $booking->price - $booking->commission }}{{ $position == 'right' ? ' ' . $symbol : '' }} | {{ !is_null($booking->paymentMethod) ? $booking->paymentMethod : '-' }} |
@if ($booking->gatewayType == 'online')
{{ __('Completed') }}@elseif ($booking->gatewayType == 'offline')@if ($booking->paymentStatus == 'pending') {{ __('Pending') }} @elseif ($booking->paymentStatus == 'completed') {{ __('Completed') }} @elseif ($booking->paymentStatus == 'rejected') {{ __('Rejected') }} @endif@else @if ($booking->paymentStatus == 'free') {{ ucfirst($booking->paymentStatus) }} @else - @endif @endif |
@if ($booking->scan_status == 1) {{ __('Already Scanned') }} @else {{ __('Not Scanned') }} @endif |
|