@extends('layouts.app') @section('title', 'SMS Gateway') @section('page', 'system-settings') @section('systemNav', 'sms-gateway') @php $enabled = old('sms_enabled', $smsEnabled ? '1' : '0') === '1'; @endphp @section('content') @include('partials.settings-system-nav') @if (session('success')) {{ session('success') }} @endif @if ($errors->any()) {{ $errors->first() }} @endif

SMS Gateway

SMSlenz credentials for campaign SMS.

Keep API key private — only admins should edit this.
@csrf @method('PUT')

Connection

Enable gateway

Enable SMS?
@if ($account || $accountError)

Account status

Live balance and plan details

@if ($accountError) {{ $accountError }} @else
Status
{{ $account['status'] ?? '—' }}
SMS balance count
{{ number_format($smsBalanceCount) }}
Plan
{{ $account['active_plan'] ?? '—' }}
Sender IDs
{{ $account['total_sender_ids'] ?? '—' }}
@endif
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush