@extends('layouts.app') @section('title', 'WhatsApp Content - Tiqkets') @section('page-title', 'WhatsApp Content Management') @section('content') @if (session('success')) @endif @if (session('error')) @endif

These templates are used for automated WhatsApp messages sent to customers for various booking events and notifications.

{{--
--}}
Dynamic Variables

Use placeholders like {customer_name}, {booking_id}

{{--
--}}
Auto Send

Messages are sent automatically on booking events

{{--
--}}
Reset feature

Restore any template to its default content

{{--
--}}
Status indicator

See which templates are modified

@foreach ($templates as $template) @endforeach
S. No. Message Type Message Content Status
{{ $loop->iteration }} {{ $template->template_name }} @if ($template->message_type === 'text')
{{ Str::limit($template->message_content, 150) }}
@else
@if ($template->message_content && Storage::exists($template->message_content)) {{ basename($template->message_content) }} @else Default {{ $template->message_type }} @endif
@endif
@if ($template->message_content !== $template->default_content) {{-- --}} Modified {{-- --}} @else {{-- --}} Default {{-- --}} @endif
@if ($template->message_content !== $template->default_content)
@csrf {{-- --}}
@endif
@endsection @push('styles') @endpush {{-- @endsection --}}