@php $isEdit = isset($data) && $data->exists; $tenant_id = session('tenant_id'); @endphp
@csrf @if($isEdit) @method('PATCH') @endif @if($show_tenant_dropdown ?? false)
@error('tenant_id')
{{ $message }}
@enderror
@else @endif
@error('title')
{{ $message }}
@enderror
Enter a descriptive title for the SMS template (max 255 characters)
@error('event_key')
{{ $message }}
@enderror
Associate this template with a specific event for automated sending
Select the language for this SMS template
@error('master_language_id')
{{ $message }}
@enderror
You can use placeholders like {customer_name}, {appointment_date}, {service_name}, etc.
{{ strlen(old('body', $isEdit ? $data->body : '')) }}/1600 characters
@error('body')
{{ $message }}
@enderror
is_enabled : true) ? 'checked' : '' }}>
Active templates are available for use in SMS sending
Available Placeholders
Customer Information:
  • @{{customer_name}} - Customer full name
  • @{{customer_first_name}} - Customer first name
  • @{{customer_email}} - Customer email
  • @{{customer_phone}} - Customer phone
Appointment Details:
  • @{{appointment_date}} - Appointment date
  • @{{appointment_time}} - Appointment time
  • @{{service_name}} - Service type
  • @{{property_address}} - Property address
Company & System:
  • @{{company_name}} - Company name
  • @{{inspector_name}} - Inspector name
  • @{{report_link}} - Report download link
  • @{{payment_amount}} - Payment amount
Cancel
@push('page_script') @endpush