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

Game Selection Report

@csrf
@php $region = Config('config.region.value'); @endphp @if (Auth::user()->userIsHQBranchs()) @else @endif
@if (Auth::user()->userIsHQBranchs()) @else @endif
@if (Session::has('error'))
Note:
@foreach(Session::get('error') as $err) {{ $err }}
@endforeach @php Session::forget('error'); @endphp
@endif
@if (count($game_selections) > 0) @foreach ($game_selections['data'] as $guid=>$game) @endforeach
# Game No. of Ticket Amount
{{$loop->iteration}} {{ $game['name'] }} {{ number_format($game['total_ticket'],0,'.',',') }} {{ number_format($game['total_amount'],2,'.',',') }}
Total Sales {{ number_format($game_selections['total']['total_ticket'],0,'.',',') }} {{ number_format($game_selections['total']['total_amount'],2,'.',',') }}
@else

No data found

@endif
@endsection @section('js') @stop