@extends('layouts.admin') @section('content') @if(session('success'))
Status: {{ str_replace('_', ' ', $election->status) }} @if($election->board_term_type) · Term: {{ $election->board_term_type === 'full_3y' ? 'Full (3 years)' : 'Temporary (6 months)' }} @endif
@can('election_edit') @if($election->status === \App\Models\Election::STATUS_PENDING) @endif @endcan| Round | Scheduled | Threshold | Present / Total | % | Status | |
|---|---|---|---|---|---|---|
| {{ $m->round }} | {{ optional($m->scheduled_at)->format('Y-m-d H:i') }} | {{ $m->quorum_percent ? $m->quorum_percent . '%' : ($m->quorum_member_count . ' members') }} | {{ $q['present'] ?? 0 }} / {{ $q['total'] ?? 0 }} | {{ $q['percent'] ?? 0 }}% | {{ str_replace('_', ' ', $m->status) }} | @can('election_edit') @if(in_array($m->status, [\App\Models\Meeting::STATUS_SCHEDULED, \App\Models\Meeting::STATUS_IN_PROGRESS])) @endif @endcan |
| No meetings yet. | ||||||
| Name | Statement | Weighted votes |
|---|---|---|
| {{ optional($c->user)->name ?? '—' }} | {{ $c->statement }} | {{ $c->weighted_votes }} |
| No candidates yet. | ||
{{ optional($election->board->term_start)->format('Y-m-d') }} → {{ optional($election->board->term_end)->format('Y-m-d') }}
| Member | Position | Votes |
|---|---|---|
| {{ optional($member->user)->name }} | {{ $member->position ?? 'Member' }} | {{ $member->votes }} |