@extends('user::layouts.backend-master') @section('breadcrumb_title', 'View Product Brand') @section('content')

Brand

Edit Back to Brands
Brand Details
Name {{ $productBrand->name }}
Slug {{ $productBrand->slug }}
Description {{ $productBrand->description ?: 'No description' }}
Parent Brand @if ($productBrand->parent) {{ $productBrand->parent->name }} @else None (Top Level) @endif
Language {{ $productBrand->language->name ?? 'Unknown' }}
Sort Order {{ $productBrand->sort_order }}
Created At {{ $productBrand->created_at->format('Y-m-d H:i:s') }}
Updated At {{ $productBrand->updated_at->format('Y-m-d H:i:s') }}
@if ($productBrand->children->count() > 0)
Child Brands
@foreach ($productBrand->children as $child) @endforeach
Name Products Actions
{{ $child->name }} {{ $child->contents->count() }}
@endif @if ($productBrand->contents->count() > 0)
Products in this Brand
@foreach ($productBrand->contents as $product) @endforeach
Title Status Actions
{{ $product->title }} @php $statusClass = match ($product->status) { 'published' => 'bg-green-100 text-green-800', 'draft' => 'bg-gray-100 text-gray-800', 'scheduled' => 'bg-blue-100 text-blue-800', 'archived' => 'bg-yellow-100 text-yellow-800', 'trash' => 'bg-red-100 text-red-800', default => 'bg-gray-100 text-gray-800', }; @endphp {{ ucfirst($product->status) }}
@endif
@if ($productBrand->getFirstMediaUrl('featured'))
Featured Image
{{ $productBrand->name }}
@endif @if ($productBrand->getFirstMediaUrl('icon'))
Icon
{{ $productBrand->name }} icon
@endif
@endsection