@extends('layouts/app') @section('content')
@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 (!empty($reports)) @php $key = 0; @endphp @foreach ($reports as $game => $report) @if(isset($report->code)) @else @if($game=='total') @endif @if($game=='payment') @endif @if($game=='refund') @endif @endif @endforeach
# Game No. of Ticket Amount
{{ ++$key }} {{ $report->name }} {{ $report->number ?? 0 }} {{ number_format($report->amount,2,'.',',') ?? 0 }}
Total {{ $report['number'] }} {{ number_format($report['amount'],2,'.',',') ?? 0 }}
Total Payment Success 1 {{ $report[0]["count"] ?? 0 }} {{ number_format($report[0]["p_amount"] ?? 0,2,'.',',') }}
Total Payment Reject 2 {{ $report[0]["count"] ?? 0 }} {{ number_format($report[0]["p_amount"] ?? 0,2,'.',',') }}
Note:
Total Payment Success 1 = Payment Success from full or partial pick.
Total Payment Reject 2 = Payment Refund from full & partial pick, insufficient funds and number sold out.
@else

No data found

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