@php use Illuminate\Support\Facades\Auth; @endphp @include('template.head') {{ $page_name = 'books' }} @include('template.sidebar') @include('template.header') @include('template.rightpanel')

Book

@if ($priviladges[9]['search'] == 1)

Books Filter


@csrf
@if (Auth::user()->usertype_id == 1)
@endif
@endif

Books List


@if ($priviladges[9]['add'] == 1) Add New Book @endif
{{-- {{-- @if ($priviladges[9]['update'] == 1 || $priviladges[13]['ability'] == 1 || $priviladges[9]['delete'] == 1) --}} {{-- --}} {{-- @endif --}} {{-- --}} {{-- --}} {{-- --}} {{-- @if (count($data) > 0) --}} {{-- @foreach ($data as $row) --}} {{-- @if ($priviladges[9]['update'] == 1 || $priviladges[13]['ability'] == 1 || $priviladges[9]['delete'] == 1) @endif --}} {{-- @endforeach --}} {{-- @else @endif --}} {{-- --}}
Image Title Author Category Language Genre Rating Price Publisher Action ByAction
{{ $row['book_img'] }}
{{ $row['title'] }} @if ($row['pay_type'] == 'Free') ( Free ) @endif {{ implode(",\n", $row['author_names']) }} {{ implode(",\n", $row['categorie_names']) }} {{ $row['language'] }} {{ implode(",\n", $row['genre_names']) }} {{ number_format($row['rating'], 1) }} RS: {{ number_format($row['price'], 2) }}/= {{ $row['publisher']['name'] }} {{ isset($row['user']['name']) ? $row['user']['name'] : '' }}
@if ($priviladges[9]['update'] == 1) @endif @if ($priviladges[13]['ability'] == 1) @endif @if ($priviladges[9]['delete'] == 1) @endif
{{-- {!! $data->links() !!} --}}
{{-- script start --}} @include('template.script') {{-- script end --}}