@extends('partials.default') @section('content')

Events Voting

{{$event->title}}

@if($opcandidates->count()==0 && $vpcandidates->count()==0 && $gstcandidates->count()==0 && $bodcandidates->count()==0)

Voting is not available

@else @if($ev->count()==0)
@else @endif @csrf @if($ev->count()==0) @if($opcandidates->count())

Candidate for Officer Presidents

@foreach($opcandidates as $c) @endforeach
@endif @if($vpcandidates->count())

Candidate for Vice Presidents

@foreach($vpcandidates as $c) @endforeach
@endif @if($gstcandidates->count())

Candidate for General Secretary Treasurer

@foreach($gstcandidates as $c) @endforeach
@endif @if($bodcandidates->count())

Candidate for Board of Directors

@foreach($bodcandidates as $c) @endforeach
@endif @else @if($opcandidates->count())

Candidate for Officer Presidents

@foreach($opcandidates as $c) @if($c->result)

Selected : {{$c->user_d->name}}

@endif @endforeach
@endif @if($vpcandidates->count())

Candidate for Vice Presidents

@foreach($vpcandidates as $c) @if($c->result)

Selected : {{$c->user_d->name}}

@endif @endforeach
@endif @if($gstcandidates->count())

Candidate for General Secretary Treasurer

@foreach($gstcandidates as $c) @if($c->result)

Selected : {{$c->user_d->name}}

@endif @endforeach
@endif @if($bodcandidates->count())

Candidate for Board of Directors

@foreach($bodcandidates as $c) @if($c->result)

Selected : {{$c->user_d->name}}

@endif @endforeach
@endif @endif @if($ev->count()==0) @endif
@endif
@endsection @section('jsOutside') @endsection