@extends('layouts.admin-master') @section('title', 'Top Participants list') @section('css') @endsection @section('content')

Top Participants List

@if(in_array(Auth::guard('admin')->user()->id, [1,7])) @endif Quiz lists All Participants
@if(count($topParticipants)>0) @foreach($topParticipants as $index => $quizParticipant) @endforeach @else @endif
# Customer Address Total Right_Ans Wrong_Ans Question Participate date Details
{{(($topParticipants->perPage() * $topParticipants->currentPage() - $topParticipants->perPage()) + ($index+1) )}} {{ $quizParticipant->name }}

{{ $quizParticipant->mobile }}

{{$quizParticipant->get_division->name .', '. $quizParticipant->get_city->name}}
{{$quizParticipant->address}}
{{$quizParticipant->totalParticipate}} {{$quizParticipant->total_right_answers_count}} {{$quizParticipant->total_wrong_answers_count}} {{$quizParticipant->total_right_answers_count + $quizParticipant->total_wrong_answers_count}} {{\Carbon\Carbon::parse($quizParticipant->participate_date)->format(Config::get('siteSetting.date_format'))}}

{{\Carbon\Carbon::parse($quizParticipant->participate_date)->format('h:i:s A')}}

View details ({{$quizParticipant->totalParticipate}})

No quiz participant found.

{{$topParticipants->appends(request()->query())->links()}}
Showing {{ $topParticipants->firstItem() }} to {{ $topParticipants->lastItem() }} of total {{$topParticipants->total()}} entries ({{$topParticipants->lastPage()}} Pages)
@endsection @section('js') @endsection