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

News Details (ID: {{ $news->id }})

{{ $news->name }}


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

{{ $news->total_winnings }}

Total Transaction Fees

{{ $news->total_transaction_fee }}

Total Amount Bet

{{ $news->total_amount }}

Total Rounds

{{ number_format($news->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