@extends('backend.layouts.app') @section('page-title', trans('app.games')) @section('page-heading', trans('app.games')) @section('content')
@include('backend.partials.messages')
@if(auth()->user()->hasRole('admin'))

{{ $stats['in'] }}

@lang('app.total_in')

{{ $stats['out'] }}

@lang('app.total_out')

{{ $percent }}%

@lang('app.average_RTP'): {{ number_format( $stats['rtp'], 2 ) }}

{{ number_format($stats['games']) }}

Disabled Games: {{ number_format($stats['disabled']) }}

@endif @if( Auth::user()->shop && Auth::user()->shop->pending )

@lang('app.shop_is_creating')

@lang('app.games_will_be_added_in_few_minutes')

@endif @if( !Auth::user()->shop || (Auth::user()->shop && !Auth::user()->shop->pending) )

@lang('app.filter')

{!! Form::select('view', $views, Request::get('view'), ['id' => 'view', 'class' => 'form-control']) !!}
{!! Form::select('device', $devices, Request::get('device'), ['id' => 'device', 'class' => 'form-control']) !!}
@if(auth()->user()->hasRole('admin'))
{!! Form::select('gamebank', ['' => '---'] + $emptyGame->gamebankNames, Request::get('gamebank'), ['id' => 'gamebank', 'class' => 'form-control']) !!}
@endif
{!! Form::select('label', ['' => '---'] + $emptyGame->labels, Request::get('label'), ['id' => 'label', 'class' => 'form-control']) !!}
{!! Form::select('jpg', ['' => '---'] + $jpgs, Request::get('jpg'), ['id' => 'jpg', 'class' => 'form-control']) !!}
@php $denominations = array_combine(\VanguardLTE\Game::$values['denomination'], \VanguardLTE\Game::$values['denomination']); @endphp {!! Form::select('denomination', ['' => '---'] + $denominations, Request::get('denomination'), ['class' => 'form-control']) !!}
{!! Form::select('rezerv', ['' => '---', '1' => __('app.yes'), '0' => __('app.no')], Request::get('rezerv'), ['class' => 'form-control']) !!}
@if(auth()->user()->hasRole('admin'))
{!! Form::select('order', $order, Request::get('order'), ['class' => 'form-control']) !!}
@endif
@if(auth()->user()->hasRole('admin'))
@else @endif