@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@forelse($books as $index => $book) @empty @endforelse
# Title Class Subject Author Order Public
{{ $index + 1 }} {{ $book->title }} {{ $book->schoolClass?->name ?? 'General' }} {{ $book->subject ?? '—' }} {{ $book->author ?? '—' }} {{ $book->sort_order }} {{ $book->is_public ? 'Public' : 'Hidden' }} View PDF
No books yet.
@csrf
@foreach($books as $book)
@csrf @method('PUT')

Uploading a new file replaces the current one.

@endforeach