Match Details

{{ $subcategory->team1fullName }}

{{ $subcategory->team1fullName }} vs {{ $subcategory->team2fullName }}

{{ $subcategory->subcategory }}
{{ \Carbon\Carbon::parse($subcategory->start_date_ist)->format('l, d-M-Y h:i A') }}
{{ $subcategory->status == 1 ? 'Active' : 'Inactive' }}
{{ $subcategory->team2fullName }}
@if($subcategory->questions->count())
@foreach($subcategory->questions as $question)
{{ $question->question }}

{{ $question->description }}

@if ($question->polling == 2) @php $options = DB::table('questionoptions') ->where('question_id', $question->id) ->get(); @endphp
Polling Options:
@foreach ($options as $opt)
{{ $opt->options_str }}
Yes: {{ $opt->yes_point }} No: {{ $opt->no_point }}
@endforeach
@endif
Filter1: {{ $question->filter1 ?? '-' }} Filter2: {{ $question->filter2 ?? '-' }}
@php $statusLabels = [ 1 => ['text' => 'Upcoming', 'color' => 'secondary'], 2 => ['text' => 'Live', 'color' => 'success'], 3 => ['text' => 'Completed', 'color' => 'primary'], 4 => ['text' => 'Canceled', 'color' => 'danger'], 5 => ['text' => 'Paused', 'color' => 'warning'], ]; $status = $statusLabels[$question->status] ?? ['text' => 'Unknown', 'color' => 'light']; @endphp Status: {{ $status['text'] }}
Yes Point: {{ $question->yes_point }}   |   No Point: {{ $question->no_point }}
Start On: {{ optional($question->start_on)->format('d M Y h:i A') ?? 'N/A' }}
@if($question->expires_in)
Expires In: {{ \Carbon\Carbon::parse($question->expires_in)->format('d M Y h:i A') }}
@endif
@if($question->polling == 2) Edit Polling @else Edit @endif @if($question->status == 5)
@csrf
@elseif($question->status == 2)
@csrf
@endif
@csrf
@endforeach
@else

No questions available for this match.

@endif
@foreach ($questionTemplates as $template)
TEMPLATE
{{ $template->template }}

This is a description for the template.

@endforeach

Create Polling Question

@csrf

Options (6 total)
@for ($i = 0; $i < 6; $i++)
@endfor