@extends('super_admins.layouts.master') @section('title') Testimonials @endsection @section('css') @include('super_admins.includes.datatable_css') @endsection @section('content') Testimonials Home Testimonials @php $params = explode('?', request()->getRequestUri()); $params = $params[1] ?? null; @endphp @if (auth()->user()->hasPermission('testimonial.export')) Export @endif @if (auth()->user()->hasPermission('testimonial.import')) Import @endif @if (auth()->user()->hasPermission('testimonial.add')) Add @endif Name Image Created at Status Action @foreach ($testimonials as $testimonial) {{ $testimonial->name }} @if ($testimonial->image)     @else - @endif {{ date_format($testimonial->created_at, 'd-m-Y') }} {{ $testimonial->is_active ? 'Active' : 'Inactive' }} @if (!$testimonial->trashed()) @if (auth()->user()->hasPermission('testimonial.add')) @endif @if (auth()->user()->hasPermission('testimonial.add')) @endif @if (auth()->user()->hasPermission('testimonial.add')) {{-- edit --}} @endif {{-- delete --}} Warning × This action is irreversible. Are You Sure , You want to delete this Testimonial ? @csrf @method('DELETE') @else {{-- restore --}} {{-- delete permanently --}} @if (auth()->user()->hasPermission('testimonial.add')) @endif Warning × This action is irreversible. Are You Sure , You want to delete this Testimonial permanently ? @csrf @method('DELETE') Warning × Are You Sure , You want to restore this Testimonial ? @csrf @endif @endforeach @endsection @section('scripts') @include('super_admins.includes.datatable_scripts') @endsection
This action is irreversible. Are You Sure , You want to delete this Testimonial ?
This action is irreversible. Are You Sure , You want to delete this Testimonial permanently ?
Are You Sure , You want to restore this Testimonial ?