@extends('layouts/layout') @section('content')

Room Details (ID: {{ $room->id }})

{{ $room->name }}


Recurring Time
{{ $room->recurring_in_minutes }} minutes
Lots per number
{{ number_format($room->lots_per_number) }}
Price per lot
${{ number_format($room->price_per_lot) }}
Status
@if ($room->status == \App\Models\Room::STATUS_ACTIVE) {{ $room->status_text }} @elseif ($room->status == \App\Models\Room::STATUS_DISABLED) {{ $room->status_text }} @else {{ $room->status_text }} @endif
Edit
Total Winnings

{{ $room->total_winnings }}

Total Transaction Fees

{{ $room->total_transaction_fee }}

Total Amount Bet

{{ $room->total_amount }}

Total Rounds

{{ number_format($room->total_rounds) }}

Leaderboard

@forelse ($winners as $winner) @empty @endforelse
User Total Times Won Total Won
{{ $winner->user->name }} {{ $winner->total_wins }} {{ $winner->total_winning_amount }}
There are no winners yet.
{{ $winners->links() }}

@endsection