@extends('admin.layouts.app') @section('title', 'Admin - Game List') @push('headerscript') @endpush @section('content')
{{--
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if (Session::has('alert-' . $msg))
@endif @endforeach
--}}

Game Bet

{{-- --}}

{{-- {{-- --}} @foreach ($bet as $r) {{-- --}} @php $value = json_decode($r->value); @endphp {{-- --}} @endforeach
--}} S.No. User Game Type Detail Win Number totalAction
{{ $loop->iteration }} {{ App\Models\User::where('id',$r->user_id)->value('name') }} {{ App\Models\Game::where('id',$r->game_id)->value('name') }} {{ $r->type }} @if($r->type == 'jodi' || $r->type == 'haroop') @foreach($value as $rv) {{$rv->numbers}} : {{$rv->amount}}, @endforeach @endif {{-- @if($r->type == 'jodi' || $r->type == 'haroop') @foreach($value as $rvn) @if($r->type == 'haroop') @php $array = str_split($rvn->numbers); // foreach($array as $rav){ if(@$array[0] == 'a'){ echo "A: "; for($i = 0;$i < 100;$i++){ $lenght = strlen($i); if($lenght == 1){ echo $i.","; } } echo "
"; } if(@$array[0] == 'b'){ echo "B: "; for($i = 0;$i < 100;$i++){ $lenght = strlen($i); if($lenght == 2){ $bvalue = str_split($i); if($bvalue[1] == $array[1]){ echo $i.","; } } } echo "
"; } // } @endphp @else {{$rvn->numbers}}, @endif @endforeach @endif --}} {{$r->win_number}}
{{ $r->total }}
@method('delete') @csrf
@endsection @push('footerscript') @endpush