{{-- alert --}} @if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- --}}
{{__('Lists auto respond')}} ({{ Session::has('selectedDevice') ? Session::get('selectedDevice')['device_body'] : '' }})
@if (Session::has('selectedDevice')) @if ($autoreplies->total() == 0) @endif @foreach ($autoreplies as $autoreply) @endforeach @else @endif
{{__('Keyword')}} {{__('Details')}} {{__('Status')}} {{__('Read')}} {{__('Typing')}} {{__('Quoted')}} {{__('Delay')}} {{__('Type')}} {{__('Action')}}
{{ __($autoreply['type_keyword']) }}
{{ __($autoreply['reply_when']) }}
status == 'active' ? 'checked' : '' }}>
is_read ? 'checked' : '' }}>
is_typing ? 'checked' : '' }}>
is_quoted ? 'checked' : '' }}>
{{ __($autoreply['type']) }}
@method('delete') @csrf
{{__('Please select device')}}