@extends('backend.layouts.layout') @section('content')

Brands

@if(session('success')) @endif @if(session('error')) @endif

Brands List

@foreach($brands as $brand) @endforeach
# Logo Name Status Featured Products Created At Actions
{{ $loop->iteration }} @if($brand->logo) {{ $brand->name }} @else
@endif
{{ $brand->name }} @if($brand->description)

{{ Str::limit($brand->description, 50) }}

@endif
{{ $brand->status ? 'Active' : 'Inactive' }} @if($brand->is_featured) Featured @endif {{ $brand->products->count() }} {{ $brand->created_at->format('d M Y') }}
@csrf @method('DELETE')
@endsection @section('scripts') @endsection