@php
    $status = $status ?? '';
    $class = 'portal-badge-default';
    if ($status === 'Costing') {
        $class = 'portal-badge-costing';
    } elseif ($status === 'Quoted') {
        $class = 'portal-badge-quoted';
    } elseif ($status === 'Negotiation') {
        $class = 'portal-badge-negotiation';
    } elseif ($status === 'Won/Ongoing') {
        $class = 'portal-badge-won';
    }
@endphp
<span class="portal-badge {{ $class }}">{{ $status ?: '—' }}</span>
