@extends('layout.admin') @section('head') @extends('layout.header') @section('header_title', 'SMS Settings') @endsection @section('content')

SMS Settings

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(!$apiConfigured)
API token is not configured yet. Add TEXTLK_API_TOKEN to your .env file and run php artisan config:clear.
@endif

Text.lk SMS

@csrf
sms_enabled ?? false) ? 'checked' : '' }}>
Max 11 characters.

When to send SMS
sms_on_appointment ?? true) ? 'checked' : '' }}>
sms_on_payment ?? true) ? 'checked' : '' }}>
sms_on_invoice ?? true) ? 'checked' : '' }}>

Message templates

Leave blank to use the default message. Placeholders: appointment — {customer_name}, {business_name}, {date}, {time}; payment — {amount}, {date}; invoice — {invoice_no}, {amount}, {paid}, {balance}.

Send test SMS

@csrf
@endsection