@extends('backend.master') @section('title') {{ @$data['title'] }} @endsection @section('content')
{{-- bradecrumb Area S t a r t --}} {{-- bradecrumb Area E n d --}}
@csrf

{{ ___('common.Filtering') }}

{{ $data['title'] }}

@if (hasPermission('issue_book_create')) {{ ___('common.add') }} @endif
@if (hasPermission('issue_book_update') || hasPermission('issue_book_delete')) @endif @forelse ($data['issue_book'] as $key => $row) @if ((hasPermission('issue_book_update') || hasPermission('issue_book_delete')) || @$row->status == App\Enums\IssueBook::ISSUED) @endif @empty @endforelse
{{ ___('common.sr_no') }} {{ ___('library.Book') }} {{ ___('library.Member') }} {{ ___('common.Phone') }} {{ ___('library.Issue Date') }} {{ ___('library.Return Date') }} {{ ___('common.status') }}{{ ___('common.action') }}
{{ ++$key }} {{ @$row->book->name }} {{ @$row->user->name }} {{ @$row->phone }} {{ dateFormat(@$row->issue_date) }} {{ dateFormat(@$row->return_date) }} @if ($row->status == App\Enums\Status::ACTIVE) {{ ___('library.return') }} @else {{ ___('library.issued') }} @endif

{{ ___('common.No data available') }}

{{ ___('common.Please add new entity regarding this table') }}

@endsection @push('script') @include('backend.partials.delete-ajax') @endpush