@extends('layouts.app') @section('title') Pencarian: {{ $books->count() }} buku ditemukan @endsection @section('meta') @endsection @section('content')
@csrf
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('categories'))
{{ $errors->first('categories') }}
@endif
{{ $books->count() }} buku ditemukan
@foreach($books as $book) @endforeach
{{ $book->title }}
{{ $book->version }}
{{ $book->author->name ?? '' }}
@foreach($book->categories as $category) {{ $category->name }} @endforeach
{!! $book->rating > 0 ? '' : '' !!} {!! $book->rating > 1 ? '' : '' !!} {!! $book->rating > 2 ? '' : '' !!} {!! $book->rating > 3 ? '' : '' !!} {!! $book->rating > 4 ? '' : '' !!} ({{ $book->bookNotes->count() }} review)
{{ $book->view }} dilihat
@endsection