@extends('org.layout.adminPanel') @section('title', 'Trash') @section('section', 'Trash') @section('css') {{-- css --}} @endsection @section('extraHeader')
@endsection @section('content') {{-- content --}}
@php $collectTrashedId = []; $UUID = 0; @endphp @if (count($trashedData) > 0)

To delete single or multiple items, right click.

@foreach ($trashedData as $tData) @if (count($tData) > 0) @foreach ($tData as $trashed) @php $collectTrashedId[$trashed->type][] = encode($trashed->id); $UUID += 1; @endphp @endforeach @endif @endforeach @else

Empty trash

@endif
Name Type Date deleted
@switch($trashed->type) @case('ORGANISATION') @break @case('DIVISION') @break @case('DEPARTMENT') @break @case('PROJECT') @break @case('FOLDER') @break @case('ITEM') @break @default @endswitch
{{ $trashed->name }} {{ $trashed->type }} {{ date(DISPLAY_DATE_FORMAT . ' H:i:s a', strtotime($trashed->deleted_at)) }}


{{-- trash popup --}} {{-- restore popup --}} @endsection @section('js') {{-- js --}} @endsection