@extends('layouts.adminmaster') @section('styles') @endsection @section('content')
@csrf @honeypot

{{lang('Testmonial Section')}}

@error('testimonialtitle') {{ lang($message) }} @enderror
@error('testimonialsub') {{ lang($message) }} @enderror

{{lang('Testimonial List')}}

@can('Testimonial Create') {{lang('Add Testmonial')}} @endcan
@can('Testimonial Delete') @endcan @can('Testimonial Delete') @endcan @cannot('Testimonial Delete') @endcannot @php $i = 1; @endphp @foreach($testimonials as $testimonial) @endforeach
{{lang('Sl.No')}} {{lang('Name')}} {{lang('Designation')}} {{lang('Actions')}}
{{$i++}} @if(Auth::user()->can('Testimonial Delete')) @else @endif {{Str::limit($testimonial->name, '40')}} {{Str::limit($testimonial->designation, '40')}}
@if(Auth::user()->can('Testimonial Edit')) @else ~ @endif @if(Auth::user()->can('Testimonial Delete')) @else ~ @endif
@endsection @section('modal') @include('admin.testimonial.model') @endsection @section('scripts') @endsection