Matches
Results
@forelse ($matches as $match) @php $isJoined = in_array($match->Match_Key ?? '', $joinedMatchKeys); $left = max(0, ($match->Player_Need ?? 0) - ($match->Player_Join ?? 0)); $progress = (($match->Player_Need ?? 0) > 0) ? (($match->Player_Join ?? 0) / $match->Player_Need) * 100 : 0; $bannerImage = asset('assets/images/match.png'); $detailsUrl = route('match.details', ['game' => $type, 'id' => $match->id]); @endphp
Prize Pool ৳{{ intval($match->Total_Prize ?? 0) }}
Per Kill ৳{{ intval($match->Per_Kill ?? 0) }}
Entry ৳{{ intval($match->Entry_Fee ?? 0) }}
Type {{ $match->Entry_Type ?? 'Solo' }}
({{ $match->Player_Join ?? 0 }}/{{ $match->Player_Need ?? 0 }}) Only {{ $left }} Spots Left
@if($isJoined) Joined @else Join Now @endif
Prize Pool
Id & Password
@empty

No Matches Available

@endforelse
@forelse ($results as $resultMatch) @php $bannerImage = asset('assets/images/match.png'); $resultUrl = url('/match-result-details/'.$type.'/'.$resultMatch->id); @endphp
Prize Pool ৳{{ intval($resultMatch->Total_Prize ?? 0) }}
Per Kill ৳{{ intval($resultMatch->Per_Kill ?? 0) }}
Entry ৳{{ intval($resultMatch->Entry_Fee ?? 0) }}
Type {{ $resultMatch->Entry_Type ?? 'Solo' }}
@empty

No Results Available

@endforelse