@extends('layouts.host', ['header' => true, 'close_button' => true, 'header_image' => false]) @section('title', 'Live Events') @section('back_button') @endsection @php $user = auth()->user() ?? null; @endphp @section('content')

Live/Upcoming Events

{{-- --}} @forelse ($live_events_with_data as $index => $event) {{-- --}} @empty @endforelse
No Code Start date End date Entry Fee Participants Total Event Fee Revenue $Hosted ByNew RAF Members Rev Share $ Total to Host
{{ $index + 1 }} {{ $event->event_code ?? 'N/A' }} {{ $event->start_date ? $event->start_date->format('m/d/Y') : 'N/A' }} {{ $event->end_date ? $event->end_date->format('m/d/Y') : 'N/A' }} ${{ number_format($event->event_fee ?? 0, 2) }} {{ $event->total_participants ?? 0 }} ${{ number_format($event->total_revenue ?? 0, 2) }}{{ $event->hosted_by ?? 'N/A' }}{{ $event->new_raf_members ?? 0 }} $ {{ number_format($event->new_raf_share ?? 0, 2) }} $ {{ number_format($event->total_to_host ?? 0, 2) }}
No live events found.

Total Host Revenue ${{ $user ? number_format($totalRevenue, 2) : '0.00' }}

{{--

$1407

--}}

${{ $user ? number_format($totalRevenue, 2) : '0.00' }}

Total Host Revenue

{{ $total_participants_all_events ?? '0' }}

Total Participants

{{ $total_new_raf_members_all_events ?? '0' }}

Total New RAF members

@endsection