@extends('backend.layouts.master') @section('body')
@component('components.beardcrumb') {{-- /*Page Title Goese Here in this slot variable*/ --}} @slot('title') @lang('messages.index_title') @endslot @if(Auth::user()->can('messages trash')) {{-- for deleted list index --}} @slot('deleted_list_btn_name') @lang('messages.deleted_list') @endslot @slot('deleted_list_route') messages.trash_list @endslot @endif @endcomponent

Messages

# Name Email phone Read Read By Action
@php use App\Models\message; $onlyTrashed = message::onlyTrashed()->get(); @endphp
@if($onlyTrashed) @foreach ($onlyTrashed as $v) @endforeach @endif
# Name Email Phone Action
{{$v->id}} {{$v->name}} {{$v->email}} {{$v->phone}} Retrive Permenantly Delete
@push('footer_script') @endpush @endsection