@extends('layouts.admin') @section('content')
{{-- --}}

Live and Upcoming Events

{{-- --}}
Clear

Total # of Events: {{ $total['events'] }}

Total Participants: {{ $total['live-upcoming-participants'] }}

Total Host Revenue: ${{ $total['live-upcoming-host-revenue'] }}

{{-- --}} {{-- --}} {{-- --}} @php $sNo = request()->page ? request()->page * 10 - 10 : 0; @endphp @forelse ($live_events_with_data as $event) {{-- --}} {{-- --}} {{-- --}} @empty @endforelse
#Sno. Host Logo Host #Sno. Event Code Event Start Date Event End Date Entry Fee No. of Participants Entry Fee Revenue New RAF MembersRev-Share $Total to HostTotal to Host after deduction (3%)Email
{{ $sNo + $loop->index + 1 }} {{ makeHostId($event->user->id) }} {{ $event->event_code ?? '' }} {{ $event->start_date ? $event->start_date->format('m/d/Y') : '' }} {{ $event->end_date ? $event->end_date->format('m/d/Y') : '' }} $ {{ number_format($event->event_fee ?? 0, 2) }} {{ $event->total_participants ?? 0 }} $ {{ number_format($event->total_revenue ?? 0, 2) }} {{ $event->new_raf_members ?? 0 }}$ {{ number_format($event->new_raf_share ?? 0, 2) }}$ {{ number_format($event->total_to_host ?? 0, 2) }}$ {{ number_format($event->total_to_host_after_deduction ?? 0, 2) }}{{ $event->user->email ?? '' }}
Did not found any events
{{ $live_events->links() }}
@endsection @push('pagespecificscripts') @endpush