@extends('layouts.internal') @section('title', 'Business of the Month · PLOCAL Internal') @section('content')

Award progression

Business of the Month — {{ $periodKey }}

Only Businesses with a legitimate Business of the Day Award inside this official America/Los_Angeles month may be selected. Selection is Administrator-only and only permitted after the month closes. No score, vote, or win count auto-selects a winner.

@if($pool['existing_award'])

Business of the Month decided

This official month already has a Business of the Month Award (Business #{{ $pool['existing_award']->business_id }}, issued {{ \Carbon\Carbon::parse($pool['existing_award']->issued_at)->format('M j, Y') }}). Award history is append-only. Revoke or correct this Award if needed.

@elseif(!$pool['closed'])

Official month still open

Business of the Month cannot be selected until this official PT month closes. The candidate pool below may still be reviewed.

@endif @if(empty($pool['candidacies']))

No eligible candidates

No Business earned a Business of the Day Award inside this official month.

@else
@foreach($pool['candidacies'] as $candidate) @endforeach
Business of the Month candidates
BusinessDay Awards this monthStatusAction
{{ $candidate->display_name }} {{ count($candidate->bod_award_dates) }} ({{ implode(', ', $candidate->bod_award_dates) }}) {{ str($candidate->eligibility_status)->title() }} @if($pool['closed'] && !$pool['existing_award'] && $internalUser->hasPermission('recognition.final_decision'))
@csrf
@else Selection unavailable @endif
@endif @endsection