@extends( ($theme =="white") ? 'layouts.white_theme': ( ($theme =="red") ? 'layouts.red_theme': (($theme =="green") ? 'layouts.green_theme': (($theme =="black") ? 'layouts.black_theme': ( ($theme =="blue") ?'layouts.blue_theme': 'layouts.yellow_theme' )))) ) @section('content')

{{ __('Canned Responses') }}

@include('common.demo') @include('common.errors')
{{--

{{ __('List of Canned Responses') }}

--}} @if($show_add_button) {{__('Add')}} @endif
@if (!count($cannedresponses))

{{ __('No data found') }} !!

{{ __('Sorry we cant find any data, to get rid of this message, make at least 1 entry') }}.

{{ __('Create new One') }}
@else @if($show_edit_button || $show_delete_button) @endif @foreach($cannedresponses as $cannedresponse) @if($show_edit_button || $show_delete_button) @endif @endforeach
{{ __('Name') }} @if($sort_order =='asc') @else @endif {{ __('Body') }} @if($sort_order =='asc') @else @endif
{{ $cannedresponse->name }} {!! $cannedresponse->body !!} @if($show_edit_button) @endif @if($show_delete_button)
@method('DELETE') @csrf
@endif
@endif
@endsection