@php $rowIndex = $index; $prefix = 'smtp_pool_servers['.$rowIndex.']'; $serverId = is_object($server) ? ($server->id ?? '') : ''; $role = old('smtp_pool_servers.'.$rowIndex.'.role', $server->role ?? 'general'); $isNotifications = $role === 'notifications'; @endphp

@if ($serverId) @endif
@if (is_object($server) && isset($server->monthly_emails_sent)) {{ __('translate.SMTP monthly usage') }}: {{ number_format((int) $server->monthly_emails_sent) }}{{ $server->monthlyUsagePercent() !== null ? ' ('.$server->monthlyUsagePercent().'%)' : '' }} @endif
@if (is_object($server) && ($server->is_auto_disabled ?? false)) {{ __('translate.Auto disabled') }} @endif