Yarn @if(Gate::check('design:create') || Gate::check('style:create')) @endif
@if(!$hideFilters)
@error('search') {{ $message }} @enderror
@endif
@if (Session::get('message')) @endif @if($errors->all()) @endif
{{-- --}} @foreach($yarns as $yarn) {{-- --}} @endforeach
ID Spinner Description Count MaterialsColours
{{ $yarn->id }} {{ $yarn->suppliers->name }} {{ $yarn->description }} {{ $yarn->counts->count }} @foreach($yarn->yarn_compositions as $material) {{$material->percentage}}% {{$material->materials->material}}, @endforeach @foreach($yarn->yarn_colours as $colour) {{$colour->reference}} {{$colour->description}}
@endforeach
@can('style:update') @endcan
{{ $yarns->links() }}