@extends('layouts.app') @section('title', 'View Sale Post Category') @section('description', 'Sale post category details') @section('content')
@if($salePostCategory->icon)
{!! $salePostCategory->icon !!}
@endif

{{ $salePostCategory->name }}

Category Details

{{ $salePostCategory->name }}

{{ $salePostCategory->slug ?? 'N/A' }}
@if($salePostCategory->status == 1 || $salePostCategory->status == 'active') Active @else Inactive @endif
@if($salePostCategory->parent) {{ $salePostCategory->parent->name }} @else Root Category @endif
@if($salePostCategory->description)

{{ $salePostCategory->description }}

@endif @if($salePostCategory->icon)
{!! $salePostCategory->icon !!}
{{ $salePostCategory->icon }}
@endif

{{ $salePostCategory->created_at ? $salePostCategory->created_at->format('M d, Y h:i A') : 'N/A' }}

{{ $salePostCategory->updated_at ? $salePostCategory->updated_at->format('M d, Y h:i A') : 'N/A' }}

@if($salePostCategory->children->count() > 0)

Subcategories ({{ $salePostCategory->children->count() }})

@endif
Back to List
Edit Category
@csrf @method('DELETE')
@endsection