@extends('layouts.admin') @section('breadcrumb', 'Book Details') @section('content')

{{ $book->title }}

Book details and management

Edit Book
@csrf @method('DELETE')
{{ $book->title }}
@csrf @method('PATCH')
@csrf @method('PATCH')

{{ $book->title }}

{{ $book->author }}

@if($book->isbn)

{{ $book->isbn }}

@endif

{{ $book->language }}

{!! $book->status_badge !!}

{{ $book->formatted_price }}

{{ $book->formatted_shipping_price }}

@if(count($book->stateShippingPrices) > 0)
@foreach($book->stateShippingPrices as $statePrice)
{{ $statePrice->state->name ?? 'State #'.$statePrice->state_id }}: ₹{{ number_format($statePrice->shipping_price, 2) }}
@endforeach
@endif

{{ $book->formatted_total_price }}

{{ $book->stock_status }}

@if($book->is_available) Available for Purchase @else Not Available @endif

@if($book->description)

{{ $book->description }}

@endif

Book Metadata

{{ $book->slug }}

{{ $book->created_at->ist()->format('F j, Y \a\t g:i A') }}

{{ $book->updated_at->ist()->format('F j, Y \a\t g:i A') }}

@if(session('success'))
{{ session('success') }}
@endif
← View Category: {{ $book->category->name }}
@endsection