@extends('layouts.admin') {{-- @push('pagespecificcss') @endpush --}} @section('content') @php $sNo = request()->members_page ? request()->members_page * 10 - 10 : 0; @endphp
Clear
{{-- --}}
@forelse($challenges as $challenge)

Challenge ({{ $challenge->challenge_code }})

Photo required : {{ @$challenge->image_required == 1 ? 'Y' : 'N' }}

Video required :{{ @$challenge->video_required == 1 ? 'Y' : 'N' }}

Start date

{{ date('m/d/Y', strtotime($challenge->start_date)) }}

End date

{{ date('m/d/Y', strtotime($challenge->end_date)) }}
@if ($challenge->challengeSponsorBy)
@endif
@if ($challenge->selectedTarget) img @endif {{-- --}}
{{--
@foreach ($challenge->challenge_round as $key => $round) @if ($round->yards)

Round {{ $key + 1 }}

@if ($round->yards)

Yards

{{ $round->yards ?? 'NA' }}

Re-load Required (y/n)

{{ $round->reload_required ? 'Yes' : 'No' }}
@endif @if ($round->shots)

Shots

{{ $round->shots ?? 'NA' }}

Target Zone

{{ $round->target_zone ?? 'NA' }}

Hand (s/w)

{{ $round->hand ?? 'NA' }}
@endif @if ($round->shots2)

Shots

{{ $round->shots2 ?? 'NA' }}

Target Zone

{{ $round->target_zone2 ?? 'NA' }}

Hand (s/w)

{{ $round->hand2 ?? 'NA' }}
@endif
@endif @endforeach
--}}

Manage Leaderboard

View List
@if ($challenge->challengeSponsorBy) Delete Sponsor @endif View Edit Delete
@empty

No challenges available

@endforelse
{{ $challenges->appends(request()->input())->links() }} {{--
--}}
@endsection @section('editcontent') @include('admin.challenge.add-challenge-popup') {{-- @include('admin.challenge.view-challenge-popup') --}} {{-- VIEW CHALLENGE DETAIL MODAL --}} {{-- VIEW CHALLENGE JOINED USERS LISTING --}} @endsection {{-- @section('pagespecificscripts') --}} @push('pagespecificscripts') {{-- --}} @endpush {{-- @endsection --}}