@extends('admin.layouts.app') @section('title', 'Brand Details') @section('content')

{{ $brand->name }}

{{ $brand->is_active ? 'Active' : 'Inactive' }}

Brand: {{ $brand->slug }}

Total Products

{{ $brand->products()->count() }}

Active Products

{{ $brand->products()->where('is_active', true)->count() }}

Created

{{ $brand->created_at->format('M d, Y') }}

{{ $brand->created_at->diffForHumans() }}

@if($brand->logo)

Brand Logo

Official brand logo and visual identity

{{ $brand->name }}

{{ $brand->name }} Logo

This logo represents the brand's visual identity and is used across all marketing materials.

File: {{ basename($brand->logo) }}
@endif

Brand Description

Detailed information about the brand

@if($brand->description)
{!! nl2br(e($brand->description)) !!}
@else

No Description

This brand doesn't have a description yet.

@endif

Associated Products

Products that belong to this brand

Add Product
@if($brand->products->count() > 0)
@foreach($brand->products->take(6) as $product)
@if($product->images && count(json_decode($product->images, true)) > 0) {{ $product->name }} @else
{{ substr($product->name, 0, 2) }}
@endif

{{ $product->name }}

${{ number_format($product->price, 2) }}

{{ $product->is_active ? 'Active' : 'Inactive' }}
@endforeach
@if($brand->products->count() > 6) @endif @else

No Products

This brand doesn't have any products yet.

Create First Product
@endif

Brand Information

Basic brand details

Brand Name
{{ $brand->name }}
Slug
{{ $brand->slug }}
@if($brand->website) @endif
Status
{{ $brand->is_active ? 'Active' : 'Inactive' }}
Created
{{ $brand->created_at->format('M d, Y') }}

Actions

Manage this brand

Edit Brand
@csrf @method('DELETE')
@endsection