@extends('SuperAdmin.layout.layout') @section('title', 'SMS Templates') @section('page-name', 'SMS Templates') @section('page-detail', 'Templates for order/customer messages') @section('body')
Templates
New Template

Use variables: [customer_name], [order_number], [vin], [make], [model], [year], [order_items], [color], [mileage], [review_link] (review link embed), [status] (for auto-send).

@if(session('success'))
{{ session('success') }}
@endif @if($templates->isEmpty())

No templates yet.

@else
@foreach($templates as $t) @endforeach
Name Body Auto-send Actions
{{ $t->name }} {{ Str::limit($t->body, 80) }} @if($t->autosender)On status change@else@endif
@csrf @method('DELETE')
{{ $templates->links() }} @endif
@endsection