@extends('backend.layouts.app') @section('title', \App\Http\Helpers\MenuHelper::getPageTitle()) @section('content')

All Documents

@can('content-download.create') Create New @endcan
@if ($cat) @endif
@if($cat) Drag the handle to reorder documents within this category. Changes are saved automatically. @else Select a category above to enable drag & drop sorting. @endif
{{-- Translations column (commented out) --}} @forelse($downloads as $download) {{-- Translations cell (commented out) --}} @empty @endforelse
# Title Category Translations Sort Status Actions
@if($cat && count($downloads) > 1) @else @endif {{ ($downloads->currentPage() - 1) * $downloads->perPage() + $loop->iteration }} {{ $download->download_title ?? '-' }} {{ $categories[$download->download_category] ?? $download->download_category ?? '-' }} {{ $download->download_sort ?? '-' }} @if ($download->translations_count > 0) {{ $download->translations_count }} language(s) @else - @endif @if($download->download_status === 'ACTIVE') {{ $statuses['ACTIVE'] ?? 'Active' }} @elseif($download->download_status === 'INACTIVE') {{ $statuses['INACTIVE'] ?? 'Inactive' }} @else No Status @endif
@can('content-download.update') @endcan @can('content-download.delete')
@csrf @method('DELETE')
@endcan

No documents found

Click "Create New" to add your first entry.

{{ $downloads->appends(request()->query())->links('vendor.pagination.custom') }}
@endsection @push('scripts') @if($cat) @endif @endpush