@forelse($stocks as $stock)
@php
$products = App\Product::where('id', $stock->product_id)->first();
$parent_image = App\Product::where('id', $stock->parent_product_id)->first();
@endphp
qty == 0) hidden @endif>
@php
@endphp
@if (!empty($products->product_name))
{{ $products->product_name }}
@endif
({{ $stock->sku }})
@if (!empty($stock->qty))
({{ $stock->qty }})
@else
(0)
@endif
@if (!empty($stock->attribute_value))
{{ $stock->attribute_value }}
@endif
@empty
@endforelse