Style Progress Beta

Quick Filters: @if(!empty($quickFilters)) @endif
Loading your styles...
@if (Session::get('message')) @endif @if($errors->all()) @endif
Showing {{ $colourways->firstItem() ?? 0 }} to {{ $colourways->lastItem() ?? 0 }} of {{ $colourways->total() }} results
@if(!empty($selectedItems))
{{ count($selectedItems) }} selected
@endif
Last updated: {{ now()->format('H:i:s') }} Updating...
@if($showBulkActions)
{{ count($selectedItems) }} items selected
@endif
@if($viewMode === 'table')
@if($showBulkActions) @endif @php($aria = fn($field) => $sortField === $field ? ($sortDirection==='asc' ? 'ascending' : 'descending') : 'none') @if($columns['Customer']) @endif @if($columns['Factory']) @endif @if($columns['Category']) @endif @if($columns['Image']) @endif @if($columns['RT Style No']) @endif @if($columns['Customer Style No']) @endif @if($columns['Description']) @endif @if($columns['Version']) @endif @if($columns['Colourway']) @endif @if($columns['Colourway Comments']) @endif @if($columns['Date of Issue']) @endif @if($columns['Carryover']) @endif @if($columns['Proto Approved']) @endif @if($columns['Fit Approved']) @endif @if($columns['Sealer Approved']) @endif @if($columns['SMS Approved']) @endif @if($columns['Photo Approved']) @endif @if($columns['Shipment Approved']) @endif @if($columns['Composition']) @endif @if($columns['Yarns']) @endif @if($columns['Gauge']) @endif @if($columns['Weight']) @endif @if($columns['Recent Sample Comment']) @endif @foreach($colourways ?? [] as $colourway) @if($showBulkActions) @endif @if($columns['Customer']) @endif @if($columns['Factory']) @endif @if($columns['Category']) @endif @if($columns['Image']) @endif @if($columns['RT Style No']) @endif @if($columns['Customer Style No']) @endif @if($columns['Description']) @endif @if($columns['Version']) @endif @if($columns['Colourway']) @endif @if($columns['Colourway Comments']) @endif @if($columns['Date of Issue']) @endif @if($columns['Carryover']) @endif @if($columns['Proto Approved']) @endif @if($columns['Fit Approved']) @endif @if($columns['Sealer Approved']) @endif @if($columns['SMS Approved']) @endif @if($columns['Photo Approved']) @endif @if($columns['Shipment Approved']) @endif @if($columns['Composition']) @endif @if($columns['Yarns']) @endif @if($columns['Gauge']) @endif @if($columns['Weight']) @endif @if($columns['Recent Sample Comment']) @endif @endforeach
Actions
id, $selectedItems)) wire:click="toggleItemSelection({{$colourway->id}})">
{{ $colourway->customer }}{{ $colourway->factory }}{{ Str::title($colourway->category) }} @if($colourway->image) {{ $colourway->description ?? 'Style image' }} @else
@endif
RTD{{ $colourway->rt }}{{ $colourway->customer_ref }}{{ Str::title($colourway->description) }}{{ Str::title($colourway->version) }}{{ Str::title($colourway->colourway) }} {{ $colourway->date_of_issue ? \Carbon\Carbon::parse($colourway->date_of_issue)->format('d-M-Y') : '' }}@if($colourway->carryover) Yes @else No @endif {{ $this->getCleanStatusDisplay($colourway->proto, $colourway->proto_required) }} {{ $this->getCleanStatusDisplay($colourway->fit, $colourway->fit_required) }} {{ $this->getCleanStatusDisplay($colourway->sealer, $colourway->sealer_required) }} {{ $this->getCleanStatusDisplay($colourway->sms, $colourway->sms_required) }} {{ $this->getCleanStatusDisplay($colourway->photo, $colourway->photo_required) }} {{ $this->getCleanStatusDisplay($colourway->shipment, $colourway->shipment_required) }} @if(!empty($colourway->composition) && $colourway->composition->count() > 0) @foreach($colourway->composition as $material=>$percentage) {{ $material }} {{ $percentage }}%
@endforeach @else Not Required @endif
@if(!empty($colourway->yarns)) @foreach($colourway->yarns as $yarn)
{{ $yarn->yarn }} {{ $yarn->count }} {{ $yarn->colour_ref }} {{ $yarn->colour }} {{ $yarn->percentage }}%
@endforeach @else Not Required @endif
{{ $colourway->gauge }} @if(!empty($colourway->weight)) {{ $colourway->weight }} @else - @endif @if(!empty($colourway->comments)) {{ $colourway->comments }} @else - @endif
@else
@foreach($colourways ?? [] as $colourway)
{{ $colourway->customer }}
{{ Str::title($colourway->category) }}
@if($colourway->image)
{{ $colourway->description ?? 'Style image' }}
@endif
RTD{{ $colourway->rt }}

{{ $colourway->description }}

Customer Ref: {{ $colourway->customer_ref }}
Version: {{ $colourway->version }}
Colourway: {{ $colourway->colourway }}
@if($columns['Colourway Comments'])
Comments:
@endif @if($columns['Proto Approved'] || $columns['Fit Approved'] || $columns['Sealer Approved'] || $columns['SMS Approved'] || $columns['Photo Approved'] || $columns['Shipment Approved'])
Sample Approvals:
@if($columns['Proto Approved'])
Proto: {{ $this->getCleanStatusDisplay($colourway->proto, $colourway->proto_required) }}
@endif @if($columns['Fit Approved'])
Fit: {{ $this->getCleanStatusDisplay($colourway->fit, $colourway->fit_required) }}
@endif @if($columns['Sealer Approved'])
Sealer: {{ $this->getCleanStatusDisplay($colourway->sealer, $colourway->sealer_required) }}
@endif @if($columns['SMS Approved'])
SMS: {{ $this->getCleanStatusDisplay($colourway->sms, $colourway->sms_required) }}
@endif @if($columns['Photo Approved'])
Photo: {{ $this->getCleanStatusDisplay($colourway->photo, $colourway->photo_required) }}
@endif @if($columns['Shipment Approved'])
Shipment: {{ $this->getCleanStatusDisplay($colourway->shipment, $colourway->shipment_required) }}
@endif
@endif
@endforeach
@endif
{{ $colourways->links() }}