@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif

Products

@forelse($products as $product)

{{ $product->name }}

@if($product->style) ({{ $product->style }}) @endif

@if($product->brand) Brand: {{ $product->brand->name }} @endif @if($product->category) @if($product->brand) • @endif Category: {{ $product->category->name }} @if($product->category->sizeGroup) • Sizes: {{ $product->category->sizeGroup->name }} @endif @endif

@if($product->notes)

{{ Str::limit($product->notes, 60) }}

@endif
@empty

No products found

@endforelse
@if($products->hasPages())
{{ $products->links() }}
@endif

{{ $isEditing ? 'Edit Product' : 'Add New Product' }}

@error('name') {{ $message }} @enderror
@if($isEditing) @endif