@extends('layouts.app') @section('title', 'Deleted Departments') @section('header', 'Recycle Bin') @section('subheader', 'Restore or permanently delete removed departments') @section('header-actions') Back to Departments @endsection @section('content')
Reset
@forelse ($departments as $department) @empty @endforelse
Name Code Status Deleted Actions
{{ $department->name }} @if ($department->description)
{{ Str::limit($department->description, 60) }}
@endif
{{ $department->code }} {{ $department->deleted_at?->diffForHumans() }} @can('restore', $department)
@csrf @method('PATCH')
@endcan @can('forceDelete', $department)
@csrf @method('DELETE')
@endcan
The recycle bin is empty.
{{ $departments->links() }}
@endsection