@extends('layouts.app') @section('title', 'Edit Notification Provider') @section('content')

โœ๏ธ Edit {{ $provider->display_name }}

Update {{ $provider->type }} provider configuration

@csrf @method('PUT')
@error('display_name')
{{ $message }}
@enderror
Lower numbers have higher priority for failover @error('priority')
{{ $message }}
@enderror

Configuration

@foreach($provider->getConfigurationFieldLabels() as $field => $label)
@if(in_array($field, ['secret', 'api_key', 'auth_token', 'api_secret'])) configuration[$field] ?? '') }}" class="form-control" required placeholder="Enter your {{ strtolower($label) }}"> Leave empty to keep current value @else configuration[$field] ?? '') }}" class="form-control" required placeholder="Enter {{ strtolower($label) }}"> @endif @error("configuration.{$field}")
{{ $message }}
@enderror
@endforeach

Current Status

Status: {{ $provider->is_active ? 'Active' : 'Inactive' }}
Default: {{ $provider->is_default ? 'Yes' : 'No' }}
@if($provider->last_tested_at)
Last Tested: {{ $provider->last_tested_at->diffForHumans() }}
@if($provider->test_results)
Test Result: {{ $provider->test_results['message'] }}
@endif @else
Test Status: Not tested
@endif
Cancel

Test Provider

Test this provider configuration to ensure it's working properly.

@csrf
@endsection