{{ mb_strtoupper(mb_substr($channel->name, 0, 2)) }}
{{ $channel->name }}
{{ $channel->code }} · {{ $channel->driver_label }}
{{ $channel->is_active ? __('admin.active') : __('admin.inactive') }}
{{ __('admin.gateway') }}
{{ $gateway }}
@if ($driver === 'email')
{{ __('admin.transport') }}
{{ ucfirst($emailTransport) }}{{ $channel->configValue('encryption') ? ' · '.strtoupper($channel->configValue('encryption')) : '' }}
{{ __('admin.from_address') }}
{{ $channel->configValue('from_address') ?: config('mail.from.address', '—') }}
{{ __('admin.subject') }}
{{ $channel->configValue('subject') ?: '—' }}
@else
@if ($driver !== 'sms_http')
{{ $contactLabel }}
{{ $contactValue }}
@endif
@if (in_array($driver, ['sms_http', 'kurdisoft'], true))
{{ __('admin.method') }}
{{ $channel->configValue('method', 'POST') }}
@endif
@endif
{{ __('admin.connection') }}
@if ($lastTest)
{{ $lastTest->status === 'sent' ? __('admin.connected') : __('admin.connection_failed') }}
{{ $lastTest->created_at->format('d/m H:i') }}
@else
{{ __('admin.not_tested') }}
@endif
{{ __('admin.admin_alerts') }}
{{ count((array) $channel->configValue('admin_ids', [])) ?: '—' }}