@extends('user::layouts.backend-master') @section('breadcrumb_title', 'View Product Brand') @section('content')
| 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') }} |
| 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) }} |