@extends('layouts.host', ['header' => true, 'close_button' => true, 'header_image' => false]) @section('title', 'Dashboard') {{-- @section('back_button') @endsection --}} @section('content') {{-- SHOWING HOST LOGO STARTS --}} @php $eventLogo = auth()->user()->events->whereNotNull('event_code')->first()->eventLogo ?? null; @endphp {{-- SHOWING HOST LOGO ENDS --}} {{-- Live --}} Live / Upcoming Events {{-- {{$data['live_events'] ?? 0 }} --}} {{ $liveEvents ? $liveEvents->count() : 0 }} Total # of Participants {{-- {{ $data['total_participants'] ?? 0 }} --}} {{ $liveEventParticipants ?? 0 }} Total Live Event Revenue ${{ number_format($liveAmount ?? 0.0, 2) }} Completed events {{-- {{ $data['completed_events'] ?? 0 }} --}} {{ $completedEventsCount ?? 0 }} Total Event Revenue Paid {{-- ${{ $completedEventRevenue ?? 0.00 }} --}} ${{ number_format($completedEventTotalPaid ?? 0.0, 2) }} Total Event Revenue Pending ${{ number_format($completedEventTotalDue ?? 0.0, 2) }} Rev-Share Members {{ $totalRevShareMembers ?? 0 }} Total Rev-Share Paid ${{ number_format($totalRevenueSharePaid ?? 0, 2) }} Total Rev-Share Pending ${{ number_format($totalRevenueSharePending ?? 0, 2) }} @endsection