@if(isset($second_range))

{{ $date_range }}

@endif @if(isset($revenue_report_data))
@if (isset($group_by['category'])) @endif @if (isset($group_by['group_by_level'])) @endif @if (isset($group_by['platform'])) @endif @if (isset($group_by['time'])) @endif @if (getenv('APP_MARKET') == 'it') @endif @if (count($revenue_report_data) > 0) @foreach ($revenue_report_data->groupBy('currency_name') as $currencyName => $data) @if (isset($group_by['time'])) @endif @if (getenv('APP_MARKET') == 'it') @endif @endforeach @foreach ($revenue_report_data as $k => $row) @if (isset($group_by['category'])) @endif @if (isset($group_by['group_by_level'])) @endif @if (isset($group_by['platform'])) @endif @if (isset($group_by['time'])) @endif @if (getenv('APP_MARKET') == 'it') @endif @endforeach @if ( $revenue_report_data instanceof \Illuminate\Pagination\LengthAwarePaginator) @endif @else @endif
{{ __('Partner Name') }} {{ __('Provider') }} {{ __('Device') }} {{ __('Category') }} {{ __('VIP level') }} {{ __('Affiliate') }} {{ __('Session Count') }} {{ __('Total players') }} {{ __('Platform') }} {{ __('Time') }} {{ __('Rounds') }} {{ __('Bet') }} {{ __('Win') }} {{ __('Real Bonus Used') }} {{ __('Bonus Cost') }} {{ __('GGR') }} {{ __('JP Contribution') }} {{ __('JP Wins') }} {{ __('Rake') }}
@lang('Subtotal(:currency)', ['currency' => $currencyName]) {{ $data->sum('session_cnt') }} {{ $data->sum('player_count') }}{{ $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('bonus_used'), true, $data['0']['currency_id'], true) !!} {!! GetMoneyStr3($data->sum('bonus_cost'), true, $data['0']['currency_id'], true) !!} {!! GetMoneyStr3($data->sum('GGR'), true, $data['0']['currency_id'], true) !!}{!! GetMoneyStr3($data->sum('jp_contribution'), true, $data['0']['currency_id'], true) !!} {!! GetMoneyStr3($data->sum('jp_win'), true, $data['0']['currency_id'], true) !!}{!! GetMoneyStr3($data->sum('Rake'), true, $data['0']['currency_id'], true) !!}
{{ !empty($row['partner_name']) ? $row['partner_name'] : "" }} {{$row['provider'] ?? 'N/A'}} {{$row['device'] }}{{ $row['category_name'] }}{{ $row['level_name'] }}{{$row['affiliate'] }} {{$row['session_cnt'] }} {{$row['player_count'] }}{{ (isset(Config::get('globalvar.aamsplatforms')[$row['platform']])) ? Config::get('globalvar.aamsplatforms')[$row['platform']] : $row['platform'] }}{{ $row['break_by'] }}{{ $row['rounds'] }} {!! GetMoneyStr3($row['bet'], true, $row['currency_id'], true) !!} {!! GetMoneyStr3($row['win'], true, $row['currency_id'], true) !!} {!! GetMoneyStr3($row['bonus_used'], true, $row['currency_id'], true) !!} {!! GetMoneyStr3($row['bonus_cost'], true, $row['currency_id'], true) !!} {!! GetMoneyStr3($row['GGR'], true, $row['currency_id'], true) !!}{!! $row['jp_contribution'] !!} {!! $row['jp_win'] !!}{!! GetMoneyStr3($row['Rake'], true, $row['currency_id'], true) !!}
{{ $revenue_report_data->onEachSide(3)->links() }}
{{ __('No results for selected params') }}
@if (count($revenue_report_data) > 0) @endif
@endif