ID | NAME | BARCODE | SKU | PRICE | @foreach($locations->sortBy('id') as $location){{ strtoupper($location->title) }} | @endforeachFirst Attribute | Value | Second Attribute | Value | Third Attribute | Value |
---|---|---|---|---|---|---|---|---|---|---|---|
{{ $product->id }} | {{ $product->product->name }} | {{ $product->barcode?: '-' }} | {{ $product->sku ?: '-'}} | {{ $product->price }} | @foreach($product->quantity->sortBy('location_id') as $qty){{ $qty->quantity ?: 0 }} | @endforeach{{ $product->first_attribute?: '-' }} | {{ $product->first_attribute_value ?: '-' }} | {{ $product->second_attribute ?: '-' }} | {{ $product->second_attribute_value ?: '-' }} | {{ $product->third_attribute ?: '-' }} | {{ $product->third_attribute_value ?: '-' }} |