@php
$matchedAmounts = [];
@endphp
@foreach($ticket_sequence as $ticketDetail)
@php
$countStatusOne = 0; // Initialize the count variable for each ticket detail
@endphp
@foreach($ticket_sequence[$loop->index] as $sequence)
@if($sequence->status == 1)
{{-- Add any logic or display for status 1 records here --}}
@php
$countStatusOne++; // Increment the count for each status 1 record
@endphp
@endif
@endforeach
@if($countStatusOne > 0)
@foreach($result_check as $result)
@if($result->number_range == $countStatusOne)
{{ $result->description }}
@php
$matchedAmounts[] = $result->amount;
@endphp
{{-- Add any logic or display for the matching result_check here --}}
@endif
@endforeach
@else
Sorry, no numbers matched. You Lost!
@endif