@if (count($casino_players) > 0)
@if ($casino_players->groupBy('currency_name')->count() > 1) @include('financial.casino-players.grand-total-table') @endif {{-- @foreach ($subtotals->groupBy('currency_name') as $currencyName => $data) --}} {{-- @foreach ($casino_players as $currencyName => $data) --}} @foreach ($casino_players->groupBy('currency_name') as $currencyName => $data)
@if (getenv('APP_MARKET') == 'it') @endif @if ($time_range != 2) @else @endif @if ($game_category) @endif @if ($break_by) @endif @foreach ($data as $k => $row) @if (getenv('APP_MARKET') == 'it') @endif @if ($game_category) @endif @if ($break_by) @endif @endforeach @if (getenv('APP_MARKET') == 'it') @endif @if ($break_by) @endif
{{ __('Aggregator ID') }} {{ __('External ID') }} {{ __('Partner Name') }} {{ __('Skin Name') }} {{ __('Username') }} {{ __('Affiliate') }} {{ __('Provider') }} {{ __('Rounds') }} {{ __('Currency') }} {{ __('Country') }} {{ __('Bet') }} {{ __('Win') }} {{ __('GGR') }} {{ __('Bingo Fee') }} {{ __('AVG Bet') }} {{ __('Bonus BET ') }} {{ __('Bonus WIN') }} {{ __('Bonus Cost') }} {{ __('Rake') }} {{ __('Last activity') }} {{ __('First activity') }} {{ __('Category') }} {{ strtoupper($break_by) }}
{{ $row->uid }} {{ $row->operator_id }} {{ $row->partner_name }} {{ !empty($row->skin_name) ? $row->skin_name : '' }} {{ $row->extern_username }} @if ($row->level) {{ __('VIP') }} @endif {{ $row->affiliate }} {{ $row->provider_name }} {{ $row->rounds }} {{ $row->currency_name }} {{ $row->country }} {!! GetMoneyStr3($row->bet, true, $row->currency_id, true) !!} {!! GetMoneyStr3($row->win, true, $row->currency_id, true) !!} {!! GetMoneyStr3($row->GGR, true, $row->currency_id, true) !!}{!! GetMoneyStr3($row->bingo_fee, true, $row->currency_id, true) !!}{!! GetMoneyStr3($row->avg_bet, true, $row->currency_id, true) !!} {!! GetMoneyStr3($row->real_bonus_used, true, $row->currency_id, true) !!} {!! GetMoneyStr3($row->bonus_win, true, $row->currency_id, true) !!} {!! GetMoneyStr3($row->bonus_cost, true, $row->currency_id, true) !!} {!! GetMoneyStr3($row->rake, true, $row->currency_id, true) !!} {!! $row->last_activity !!}{!! $row->category_name !!} {{ $row->groupedby }}
@lang('Subtotal(:currency)', ['currency' => $currencyName]) {{ $data->sum('rounds') }} {!! GetMoneyStr3($data->sum('bet'), true, $data[0]->currency_id, true) !!} {!! GetMoneyStr3($data->sum('win'), true, $data[0]->currency_id, true) !!} {!! GetMoneyStr3($data->sum('GGR'), true, $data[0]->currency_id, true) !!}{!! GetMoneyStr3($data->sum('bingo_fee'), true, $data[0]->currency_id, true) !!} {!! GetMoneyStr3( $data->sum('avg_bet') == 0 ? 0 : $data->sum('avg_bet') / count($data->whereNotNull('avg_bet')) ?? 0, true, $data[0]->currency_id, true, ) !!} {!! GetMoneyStr3($data->sum('real_bonus_used'), true, $data[0]->currency_id, true) !!} {!! GetMoneyStr3($data->sum('bonus_win'), true, $data[0]->currency_id, true) !!} {!! GetMoneyStr3($data->sum('bonus_cost'), true, $data[0]->currency_id, true) !!} {!! GetMoneyStr3($data->sum('rake'), true, $data[0]->currency_id, true) !!}
@endforeach
@else
{{ __('No results for selected params') }}
@endif