@extends('admin.layout', ['menuKey' => 'badges']) @section('title', 'Badges') @section('content')
Employers

Badges

Badges show only on verified organizations ({{ $verified }} so far). Automatic badges are rechecked every night; give or remove one on an organization's page to override it.

@csrf
@include('partials.errors')

Founding employers

Given in order when an organization is verified and has had a job go live. Permanent; numbers are never reused. Internal organizations never get one.

@foreach (config('badges.founding') as $key => $tier) @php $given = $roll->filter(fn ($o) => $o->foundingTier() === $key)->count(); $size = $tier['to'] - $tier['from'] + 1; @endphp @endforeach
TierNumbersGivenSite creditEmployer page
{{ $tier['label'] }} #{{ str_pad((string) $tier['from'], 3, '0', STR_PAD_LEFT) }}–{{ str_pad((string) $tier['to'], 3, '0', STR_PAD_LEFT) }}
{{ $given }} of {{ $size }}
${{ number_format($tier['credit_cents'] / 100) }} {{ $tier['enhanced'] ? 'Enhanced (logo, about, website)' : 'Standard' }}
@if ($roll->isNotEmpty())
The roll ({{ $roll->count() }})
@foreach ($roll as $o) @endforeach
No.OrganizationSince
#{{ str_pad((string) $o->founding_number, 3, '0', STR_PAD_LEFT) }}{{ $o->display_name }}{{ $o->founding_at?->format('M j, Y') }}
@endif
@php $n = fn (string $name, string $label, int $min = 1, ?int $max = null) => ''; $held = fn (int $c) => ''.$c.' '.($c === 1 ? 'organization' : 'organizations').''; @endphp
@csrf

Earned badges

Change a number and save; every organization is rechecked tonight (or now, with Recheck all now).

@endsection