{{-- @dd($collections) --}} @if($collections) @foreach($collections as $key => $collection) @endforeach @endif
# Department En Department Ar Status Action
{{ $key+1 }} {{ $collection->department_en }} {{ $collection->department_ar }} @if(empty($collection->deleted_at) ) {{ $collection->status }} @else DELETED @endif
@if(empty($collection->deleted_at) ) Edit delete @else trash @endif