@extends('admin.layouts.app') @section('title', 'SMS & WhatsApp') @section('breadcrumb')
  • Settings
  • SMS & WhatsApp
  • @endsection @section('heading', 'SMS & WhatsApp') @section('subheading', 'Configure messaging gateways and templates.') @section('content')
    @csrf {{-- SMS Gateway --}}

    SMS Gateway

    {{-- WhatsApp Business --}}

    WhatsApp Business

    {{-- Templates Table --}}

    Message Templates

    @foreach ([ ['name' => 'OTP', 'channel' => 'SMS', 'preview' => 'Your OTP is {{otp}}. Valid for 5 minutes.', 'status' => 'Active'], ['name' => 'Enquiry Alert', 'channel' => 'WhatsApp', 'preview' => 'New enquiry for {{property_title}} from {{name}}', 'status' => 'Active'], ['name' => 'Visit Reminder', 'channel' => 'SMS', 'preview' => 'Reminder: Your property visit is scheduled for {{date}} at {{time}}', 'status' => 'Active'], ['name' => 'Payment Confirmation', 'channel' => 'WhatsApp', 'preview' => 'Payment of ₹{{amount}} received. Receipt: {{invoice_id}}', 'status' => 'Active'], ] as $tpl) @endforeach
    Template Name Channel Message Preview Status Actions
    {{ $tpl['name'] }} {{ $tpl['channel'] }} {{ Str::limit($tpl['preview'], 50) }} {{ $tpl['status'] }} Edit
    @endsection