@extends('garage.layouts.app') @section('title', 'Part Brands') @push('styles') @include('shared.garage-summary-ui-styles') @endpush @section('content')

Part Brands

Brands are used in Parts add/edit screens.

Add brand
{{ (int)($stats['total'] ?? 0) }}
Total Brands
{{ (int)($stats['active'] ?? 0) }}
Active
{{ (int)($stats['inactive'] ?? 0) }}
Inactive
{{ (int)($stats['linked_parts'] ?? 0) }}
Linked Parts
@if(($search ?? '') || ($status ?? 'all') !== 'all') @endif
@forelse($brands as $b) @empty @endforelse
Brand Code Sort Parts Status Actions
{{ $b->name }}
@if($b->notes)
{{ \Illuminate\Support\Str::limit($b->notes, 80) }}
@endif
{{ $b->code ?: '—' }} {{ (int)($b->sort_order ?? 0) }} {{ (int)($b->parts_count ?? 0) }} @if($b->is_active) Active @else Inactive @endif
@csrf @method('DELETE')
No part brands found.
@if($brands->hasPages())
{{ $brands->links() }}
@endif
@endsection