@extends('admin.layout') @section('title', 'Brands Management') @section('heading', 'Product Brands') @section('content')
Show entries
@forelse($brands as $brand) @empty @endforelse
S.No Brand Logo & Name Slug Description Products Count Actions
{{ ($brands->currentPage() - 1) * $brands->perPage() + $loop->iteration }}
@if($brand->logo) {{ $brand->name }} @else
@endif {{ $brand->name }}
{{ $brand->slug }} {{ Str::limit($brand->description ?: 'No description provided.', 60) }} {{ $brand->products_count ?? $brand->products()->count() }} products
Edit
@csrf @method('DELETE')
No brands added yet. Click Add Brand to register your first brand.
Showing {{ $brands->firstItem() ?? 0 }} to {{ $brands->lastItem() ?? 0 }} of {{ $brands->total() }} entries
{{ $brands->appends(request()->query())->links('admin.partials.pagination') }}
@endsection