Back to Events @if($event->category) {{ $event->category->name }} @endif {{ $event->status }}

{{ $event->title }}

@if($event->image) {{ $event->title }} @else
@endif
{{-- Using prose-invert automatically styles the description for a dark background --}} {!! $event->description !!}
@if($event->status === 'Open')

Betting closes in:

Calculating...
@elseif($event->status === 'Resolved')

Event Resolved

Outcome: {{ $event->outcome }}
Resolved on {{ $event->resolved_at->format('M d, Y H:i') }}
@endif

Discussion

@auth
@if($replyTo)
Replying to a comment
@endif @error('comment') {{ $message }} @enderror
@else

Please log in or sign up to join the discussion.

@endauth
@forelse($this->comments as $comment)
{{ $comment->user->name }}
{{ $comment->created_at->diffForHumans() }}

{{ $comment->content }}

@auth
@endauth @if($comment->replies->count() > 0)
@foreach($comment->replies as $reply)
{{ $reply->user->name }}
{{ $reply->created_at->diffForHumans() }}

{{ $reply->content }}

@endforeach
@endif
@empty

No comments yet. Be the first to share your thoughts!

@endforelse @if($this->comments->count() > 0 && $this->comments->count() >= $commentLimit)
@endif

Prediction Pool

Total Pool

€{{ number_format($this->eventStats['total_pool'], 2) }}

{{ number_format($this->eventStats['yes_percentage'], 1) }}% Yes (€{{ number_format($this->eventStats['yes_amount'], 2) }})
{{ number_format($this->eventStats['no_percentage'], 1) }}% No (€{{ number_format($this->eventStats['no_amount'], 2) }})
@if($event->status === 'Open' && !$event->betting_close_at->isPast())

Place Your Bet

@auth
{{-- YES BUTTON --}} {{-- NO BUTTON --}}
@error('prediction') {{ $message }} @enderror
@error('amount') {{ $message }} @enderror
@if($prediction && $amount > 0)

Estimated Returns

Stake: €{{ number_format($amount, 2) }}
Estimated Payout: €{{ number_format($estimatedPayout, 2) }}
Market Fee (2%): -€{{ number_format($marketFee, 2) }}
Net Return: €{{ number_format($netReturn, 2) }}
@endif
Your Balance: €{{ number_format(Auth::user()->balance, 2) }}
@else

You need to be logged in to place bets.

Log In to Bet
@endauth
@endif @auth @if($this->userBets->count() > 0)

Your Bets

@foreach($this->userBets as $bet)

{{ $bet->prediction }}

€{{ number_format($bet->amount, 2) }}

{{ ucfirst($bet->status) }}

{{ $bet->created_at->format('M d, Y') }}

@if($bet->status === 'won')
Payout: €{{ number_format($bet->potential_payout, 2) }}
@endif
@endforeach
@endif @endauth
@if($showBetConfirmation) @endif @if(session()->has('message'))
{{ session('message') }}
@endif