{{-- alert --}} @if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif @if ($errors->any()) @endif {{-- --}} @if (!session()->has('selectedDevice'))
{{ __('Please select a device first') }}
@else
{{ __('Lists auto respond') }} @if (Session::has('selectedDevice')) ({{ Session::get('selectedDevice')['device_body'] }}) @endif
@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' : '' }}>
{{ __($autoreply->status) }}
is_read ? 'checked' : '' }}>
{{ $autoreply->is_read ? __('Yes') : __('No') }}
is_typing ? 'checked' : '' }}>
{{ $autoreply->is_typing ? __('Yes') : __('No') }}
is_quoted ? 'checked' : '' }}>
{{ $autoreply->is_quoted ? __('Yes') : __('No') }}
{{ __($autoreply['type']) }}
@csrf @method('delete')
{{ __('Please select device') }}
{{ $autoreplies->links('pagination::bootstrap-5') }}
@endif