@extends('layouts.admin') @section('title') Admin | Product Category Details @endsection @section('content')

Product Category Details

{{-- Left column: Image --}}
@if($category->image_url) {{ $category->name }} @else No Image @endif
{{-- Right column: Details --}}

{{ $category->name }}

{{--

Slug: {{ $category->slug }}

--}} {{-- @if($category->parent)

Parent Category: {{ $category->parent->name }}

@else

Parent Category: None

@endif --}}

Description:

{!! nl2br(e($category->description ?? 'No description available.')) !!}

{{--

Status: @if($category->is_active) Active @else Inactive @endif

--}} {{--

Sort Order: {{ $category->sort_order ?? 0 }}

--}}

Created At: {{ $category->created_at->format('d M Y, h:i A') }}

Updated At: {{ $category->updated_at->format('d M Y, h:i A') }}

@endsection