@extends('manager.layouts.app') @section('page_title') {{(!empty($page_title) && isset($page_title)) ? $page_title : ''}} @endsection @section('content')
{{ $data->title }}
{{ $data->slug }}
{{ \App\Enums\BookType::options()[$data->type] ?? '-' }}
{{ \App\Enums\BookLanguage::options()[$data->language] ?? '-' }}
{{ optional($data->publish_date)->format('d M Y h:i A') }}
{{ $data->class?->name ?? '-' }}
{{ $data->parentCategory?->category_name ?? '-' }}
{{ $data->childCategory?->category_name ?? '-' }}
@if($data->status) Published @else Draft @endif
| # | File Name | File Size | Actions |
|---|---|---|---|
| {{ $index + 1 }} | {{ $file->file_name }} | {{ number_format($file->file_size / 1024, 2) }} KB | View PDF Download |
| {{ $index + 1 }} | {{ $link->link }} | Open Link |