{{-- Header --}} {{-- Filters Bar --}}
{{-- Mobile Toggle --}} {{-- Filters --}}
{{-- Season Dropdown --}}
@foreach($this->seasons as $s) @endforeach
{{-- Customer Dropdown --}}
@foreach($this->customers as $c) @endforeach
{{-- Status Dropdown --}}
{{-- Active Filters Summary & Clear --}} @if($this->activeFiltersCount > 0)
{{ $this->activeFiltersCount }} active
@endif
{{-- Content --}}
@if(empty($loadedItems)) {{-- Empty State --}}

No styles found

Try adjusting your search or filters

@if($this->activeFiltersCount > 0) @endif
@else {{-- Table --}}
@foreach($loadedItems as $item) {{-- Image --}} {{-- RT --}} {{-- Description --}} {{-- Customer --}} {{-- Season --}} {{-- Colourway --}} {{-- Composition --}} {{-- Proto Status --}} {{-- Sealer Status --}} {{-- Photo Status --}} {{-- Shipment Status --}} @endforeach
Image RT @if($sortBy === 'rt') @else @endif Description @if($sortBy === 'description') @else @endif Customer @if($sortBy === 'customer') @else @endif Season Colourway @if($sortBy === 'colourway') @else @endif Composition Proto Sealer Photo Shipment
@if($item['image']) {{ $item['colourway_name'] }} @else
@endif
{{ $item['design_id'] }}
{{ Str::limit($item['design_description'], 30) }}
@if($item['customer_ref'])
{{ $item['customer_ref'] }}
@endif
{{ $item['customer_name'] }} {{ $item['season_description'] }}
{{ $item['colourway_name'] }}
@if($item['version_name'])
Version: {{ $item['version_name'] }}
@endif
@if($item['composition']) {{ Str::limit($item['composition'], 25) }} @else @endif
@forelse($item['proto_samples'] as $idx => $sample) @empty @endforelse @if(count($item['proto_samples']) > 0 && count($item['proto_samples']) < 3) @can('style:update') @endcan @endif
@forelse($item['sealer_samples'] as $idx => $sample) @empty @endforelse @if(count($item['sealer_samples']) > 0 && count($item['sealer_samples']) < 3) @can('style:update') @endcan @endif
@forelse($item['photo_samples'] as $idx => $sample) @empty @endforelse @if(count($item['photo_samples']) > 0 && count($item['photo_samples']) < 3) @can('style:update') @endcan @endif
@forelse($item['shipment_samples'] as $idx => $sample) @empty @endforelse @if(count($item['shipment_samples']) > 0 && count($item['shipment_samples']) < 3) @can('style:update') @endcan @endif
{{-- Loading More Indicator --}} @if($hasMore)
Loading more...
@else
{{ count($loadedItems) }} styles loaded
@endif {{-- Loading indicator when fetching more --}}
Loading more...
@endif
{{-- Style Edit Sidebar (reuse from styles page) --}} @livewire('commission.style-edit') {{-- Sample Edit Sidebar --}} @livewire('commission.sample-edit')