@php $payouts = $period->rewardPayouts()->get()->keyBy('user_id'); $isFinalized = $period->status !== 'provisional'; @endphp
Recompute now @if (! $isFinalized) Finalize now @endif @if ($actionStatus) {{ $actionStatus }} @endif
@foreach (['daily' => 'Daily', 'weekly' => 'Weekly', 'monthly' => 'Monthly'] as $value => $label) {{ $label }} @endforeach
{{ $period->period_start->format('d M Y, H:i') }} – {{ $period->period_end->format('d M Y, H:i') }} (UTC) {{ ucfirst($period->status) }} @if ($period->finalized_at) Finalized {{ $period->finalized_at->format('d M, H:i') }} @endif
Rank Player Score Kills Tournaments Reward @forelse ($entries as $entry) @php($payout = $payouts->get($entry->user_id)) @if ($entry->rank <= 3) #{{ $entry->rank }} @else #{{ $entry->rank }} @endif {{ $entry->user->username }} {{ $entry->score }} {{ $entry->total_kills }} {{ $entry->tournaments_played }} @if ($payout) {{ $payout->amount }} @else — @endif @empty @endforelse