@include('layouts.head')
@include('layouts.header')
@include('layouts.sidebar')
@if (session()->has('message'))
{{ session()->get('message') }}
@endif

{{ __('language.All Books list') }}

@foreach ($books as $book) @endforeach
# {{ __('language.Book Name') }} {{ __('language.Scholar Name') }} {{ __('language.Sub Category') }} {{ __('language.File') }} {{ __('language.Action') }}
{{ $book->id }} {{ $book->name }} @if ($book->scholarName) {{ $book->scholarName->name }} @else No Scholar Name available @endif @if ($book->Subcategory) {{ $book->Subcategory->name }} @else No sub Category available @endif @if ($book->file) File @else file not available @endif
@csrf @method('DELETE')
@include('layouts.footer')