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

Warehouse Sections

Sections belong to a warehouse. Filter by warehouse or manage all.

Add section
{{ (int)($stats['total'] ?? 0) }}
Total Sections
{{ (int)($stats['active'] ?? 0) }}
Active
{{ (int)($stats['inactive'] ?? 0) }}
Inactive
@if(($search ?? '') || ($status ?? 'all') !== 'all' || ($warehouseId ?? 0) > 0) @endif
@forelse($sections as $s) @empty @endforelse
Section Warehouse Code Sort Status Actions
{{ $s->name }} @if($s->is_default) Default @endif
@if($s->notes)
{{ \Illuminate\Support\Str::limit($s->notes, 80) }}
@endif
{{ $s->warehouse_name }} {{ $s->code ?: '—' }} {{ (int)($s->sort_order ?? 0) }} @if($s->is_active) Active @else Inactive @endif
@if(! $s->is_default)
@csrf @method('DELETE')
@endif
No sections found.
@if($sections->hasPages())
{{ $sections->links() }}
@endif
@endsection