@extends('backend.layouts.main') @section('title') {{ __('Dashboard') }} :: {{ __('Games') }} @endsection @section('content') @include('backend.pages.dashboard.tabs')
{{ __('Games played') }}

{{ $games_count }}

{{ __('Played last 30 days') }}

{{ $played_last_month }}

{{ __('Played last 7 days') }}

{{ $played_last_week }}

{{ __('Avg bet') }}

{{ $avg_bet }}

{{ __('Max bet') }}

{{ $max_bet }}

{{ __('Total bet') }}

{{ $total_bet }}

{{ __('Avg net win') }}

{{ $avg_net_win }}

{{ __('Max net win') }}

{{ $max_net_win }}

{{ __('Total net win') }}

{{ $total_net_win }}

{{ __('Games played by day') }}

{{ __('Net win by day') }}

{{ __('Games by result') }}

{{ __('Games by type') }}

{{ __('Extra games stats') }}

@foreach($played_by_type_ext as $item) @endforeach
{{ __('Game') }} {{ __('Bet') }} {{ __('Win') }} {{ __('Net win') }} {{ __('Return to player') }} {{ __('House edge') }}
{{ $item->game }} {{ $item->_bet }} {{ $item->_win }} {{ $item->_net_win }} {{ $item->_return_to_player }} {{ $item->_house_edge }}

{{ __('Top wins') }}

@if($top_wins->isEmpty()) @else @foreach($top_wins as $game) @endforeach
{{ __('User') }} {{ __('Game') }} {{ __('Net win') }}
{{ $game->account->user->name }} {{ __('app.game_' . class_basename(str_replace('GameMultiSlots', 'GameSlots', $game->gameable_type))) }} {{ $game->_net_win }}
@endif

{{ __('Top losses') }}

@if($top_losses->isEmpty()) @else @foreach($top_losses as $game) @endforeach
{{ __('User') }} {{ __('Game') }} {{ __('Net loss') }}
{{ $game->account->user->name }} {{ __('app.game_' . class_basename(str_replace('GameMultiSlots', 'GameSlots', $game->gameable_type))) }} {{ $game->_net_win }}
@endif
@endsection