@extends('root') @section('title', $isEdit ? 'Edit Rule Auto Reply' : 'Tambah Rule Auto Reply') @section('content') @section('content')
@include('components.breadcrumb', [ 'title' => $isEdit ? 'Edit Rule' : 'Tambah Rule', 'links' => [ ['url' => route('client.dashboard'), 'label' => 'Dashboard'], ['url' => route('client.balasan-otomatis.index'), 'label' => 'Auto Reply'], ], 'current' => $isEdit ? 'Edit Rule' : 'Tambah Rule' ]) @if($errors->any()) @endif
@csrf @if($isEdit) @method('PUT') @endif
{{-- Main Config Column --}}
{{-- Card: Keyword & Trigger --}}
Pengaturan Trigger
Pesan masuk akan diperiksa terhadap kata kunci ini.
@if(!($isSharedPackage ?? false) && $wabaPools->isNotEmpty())
@endif
{{-- Card: Reply Content --}}
Konten Balasan
@php $currentType = old('reply_type', $rule->reply_type ?? 'text'); @endphp
{{-- Panel: Teks --}}
{{-- Panel: Media --}}
Upload File atau Input URL
Maks. 10MB. Gambar, Video, PDF, atau Audio.
{{-- Panel: Interactive Button --}}
Header (Optional)
{{-- Panel: Interactive List --}}
{{-- Sidebar / Preview Column --}}
Quick Presets
@endsection @push('scripts') @endpush