@extends('frontend.layouts.app') @section('content')

{{ $book->title }}

  • Home
  • Library
  • {{ $book->title }}

Book Specifications

Type {{ \App\Enums\BookType::options()[$book->type] ?? '-' }}
Language {{ \App\Enums\BookLanguage::options()[$book->language] ?? '-' }}
Class {{ $book->class->name ?? 'N/A' }}
Category {{ $book->parentCategory->category_name ?? 'N/A' }}
Sub Category {{ $book->childCategory->category_name ?? 'N/A' }}
Published @if($book->publish_date) {{ \Carbon\Carbon::parse($book->publish_date)->format('d M, Y') }} @else N/A @endif
{{ $book->files->count() }} {{ Str::plural('file', $book->files->count()) }}
Ready for Download

Get all associated resources bundled in a single package.

Download All

Available Files

@forelse($book->files as $file)
{{ $file->file_name }} @if($file->file_size)

Size: {{ number_format($file->file_size / 1024, 2) }} KB

@endif
@empty
No files available.
@endforelse
@if($book->links->count())

Related Links

@foreach($book->links as $index => $link)
Link {{ $index + 1 }}
{{ $link->link }}
@if(!$loop->last)
@endif @endforeach
@endif @endsection