@extends('general.index', $setup)
@section('thead')
{{ __('Name') }} |
{{ __('Type') }} |
{{ __('crud.actions') }} |
@endsection
@section('tbody')
@foreach ($setup['items'] as $item)
{{ $item->name }} |
@if (isset($item->template_id))
{{ $item->bot_type==2?__('Template bot: On exact match'):__('Template bot: When message contains') }} |
@else
{{ $item->type==1?__('Quick reply'):($item->type==2?__('Text bot: On exact match'):($item->type==4?__('Text bot: Welcome'):__('Text bot: When message contains'))) }} |
@endif
@if (isset($item->template_id))
{{ __('Analytics') }}
@if ($item->is_bot_active)
{{ __('Deactivate') }}
@else
{{ __('Activate') }}
@endif
{{ __('Delete') }}
|
@else
|
@endif
@endforeach
@endsection