@extends('layouts.app') @section('content')
@forelse ($products as $items)
{{$items->first()->product->name}}
@forelse ($items->sortBy('name', SORT_NATURAL | SORT_FLAG_CASE) as $item) @if (!$loop->first)
@endif
@if ($item->used_by) @include('home.usedItem') @else @include('home.unusedItem') @endif
@empty

@lang('home.no_messages')@lang('home.share_item')

@endforelse
@empty @endforelse
@endsection