@extends('layouts.admin') @section('title', $category->name) @section('content')

{{ $category->name }}

{{ $category->name_ar }}

Icon
@if($category->icon) {{ $category->name }} @else No icon @endif
Information

Slug:
{{ $category->slug }}

Status:
{{ $category->is_active ? 'Active' : 'Inactive' }}

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

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

Description
English

{{ $category->description ?? 'No description' }}

Arabic

{{ $category->description_ar ?? 'No description' }}

@if($category->children->count() > 0)
Subcategories
@foreach($category->children as $child) @endforeach
Name Slug Status Actions
{{ $child->name }} {{ $child->slug }} {{ $child->is_active ? 'Active' : 'Inactive' }}
@endif @if($venues->count() > 0)
Venues in this Category
@foreach($venues as $venue) @endforeach
Venue Name Business Status Actions
{{ $venue->name }} {{ $venue->business->business_name ?? 'N/A' }} {{ ucfirst($venue->status) }}
@endif
@endsection