@section('title') Catalog PDFs @endsection @section('breadcrumbs') {{ Breadcrumbs::render('catalog.pdfs.index') }} @endsection @if (session('success'))
Success!
{{ session('success') }}
@endif
Total PDFs {{ $pdfs->total() }}
Public {{ $pdfs->where('visibility', 'public')->count() }}
Private {{ $pdfs->where('visibility', 'private')->count() }}
This Month {{ $pdfs->where('created_at', '>=', now()->startOfMonth())->count() }}
@forelse ($pdfs as $pdf) @if ($loop->first)
@endif
@if ($pdf->visibility === 'public') Public @else Private @endif
@if ($pdf->original_filename)
{{ Str::limit($pdf->original_filename, 35) }}
@endif
{{ \App\Models\CatalogPdf::templateTypeOptions()[$pdf->template_type] ?? $pdf->template_type }}
{{ $pdf->created_at?->format('d M Y, h:i A') }}
View @if ($pdf->template_type === \App\Models\CatalogPdf::TEMPLATE_FLIP_PHYSICS) @endif @if ($pdf->template_type === \App\Models\CatalogPdf::TEMPLATE_SLICER_SHOPPABLE) @endif @if ($pdf->template_type === \App\Models\CatalogPdf::TEMPLATE_PAGE_MANAGEMENT) @endif
@if ($loop->last)
{{ $pdfs->links() }}
@endif @empty

No PDFs Found

You haven't uploaded any PDFs yet.
Start by uploading your first catalog PDF.
Upload Your First PDF
@endforelse