@extends('layouts.app') @section('title', 'Edit SMS Gateway') @section('description', 'Update SMS gateway configuration') @section('content') Back to SMS Gateways @csrf @method('PUT') @if ($errors->any()) There were {{ $errors->count() }} error(s) with your submission: @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif Total Sent {{ number_format($smsGateway->success_count + $smsGateway->failed_count) }} Success {{ number_format($smsGateway->success_count) }} Failed {{ number_format($smsGateway->failed_count) }} Success Rate {{ $smsGateway->success_rate }}% Basic Information Gateway Name * @error('name') {{ $message }} @enderror Display Name * @error('display_name') {{ $message }} @enderror Gateway Driver * Select Driver @foreach($drivers as $key => $value) driver) === $key ? 'selected' : '' }}>{{ $value }} @endforeach @error('driver') {{ $message }} @enderror Gateway Slug {{ $smsGateway->slug }} Auto-generated identifier Description {{ old('description', $smsGateway->description) }} @error('description') {{ $message }} @enderror API Configuration API Key * @error('api_key') {{ $message }} @enderror API Secret @error('api_secret') {{ $message }} @enderror Sender ID / Phone Number @error('sender_id') {{ $message }} @enderror API URL @error('api_url') {{ $message }} @enderror Additional Configuration (JSON) Add For HRSoft, add: customer_id Country & Priority Configuration Country Codes * + Common codes: Bangladesh (880), USA/Canada (1), UK (44), India (91), Pakistan (92) @error('country_codes') {{ $message }} @enderror Priority (0-100) Higher priority = preferred selection (100 is highest) @error('priority') {{ $message }} @enderror HTTP Method method) === 'POST' ? 'selected' : '' }}>POST method) === 'GET' ? 'selected' : '' }}>GET is_active) ? 'checked' : '' }} class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"> Activate this SMS gateway is_default) ? 'checked' : '' }} class="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"> Set as default fallback gateway Cancel Update SMS Gateway @endsection
{{ $message }}
Auto-generated identifier
For HRSoft, add: customer_id
Common codes: Bangladesh (880), USA/Canada (1), UK (44), India (91), Pakistan (92)
Higher priority = preferred selection (100 is highest)