{{-- Service Header Partial - Cached for performance --}} @php $serverName = $invoice->invoiceItem->first()->server_name ?? 'Cloud VPS'; $vmStatus = $vmInfo['status'] ?? null; $statusBg = match ($vmStatus) { 'POWERED_ON' => 'bg-green-600', 'POWERED_OFF' => 'bg-red-600', default => 'bg-gray-600', }; @endphp
{{ $serverName }}