@php use App\Helpers\Constants; @endphp @include('template.head') {{ $page_name = 'booksadd' }} @include('template.sidebar') @include('template.header') @include('template.rightpanel')

Book

{{ isset($type) ? 'Edit' : 'Add' }} Book


{{-- --}}
@csrf @if (@isset($type))
@endif
Book title length must be {{ Constants::$titleMax }} characters!
ISBN Already Exists
Book description length must be {{ Constants::$descriptionMax }} characters!
Book file(epub) is required! Invalid file type!
Cover page file(image) is required! Invalid file type! File is too big!
Sample book file(pdf) is required! Invalid file type!
{{--
--}}
{{--
--}}
@if (!isset($type))
Please enter notification short description
Notification
@endif
@if ($priviladges['add'] == 1 || $priviladges['update'] == 1) @endif
{{-- script start --}} @include('template.script') {{-- script end --}}