@foreach ($stock as $categoryId => $categoryItems)
@foreach ($categoryItems->chunk(4) as $chunk)
@foreach ($chunk as $item)
{{ $item->name }}
{{ $item->name }}
Cost: {!! $currencies[$item->pivot->currency_id]->display((int) $item->pivot->cost) !!}
@if ($item->pivot->is_limited_stock)
Stock: {{ $item->pivot->quantity }}
@endif @if ($item->pivot->purchase_limit)
Max {{ $item->pivot->purchase_limit }} @if ($item->pivot->purchase_limit_timeframe !== 'lifetime') {{ $item->pivot->purchase_limit_timeframe }} @endif per user
@endif @if ($item->pivot->disallow_transfer)
Cannot be transferred after purchase
@endif
@endforeach
@endforeach
@endforeach