@php if(count($warehouseProducts) > 0) { @endphp @php $totalcountallsize = 0 ; @endphp @foreach($warehouseProducts as $key => $row) @php $totalrow = 0 ; @endphp @php $article = \App\Article::with('category')->with('maincategory')->select('image')->where('code',$row->article)->first(); @endphp @endforeach @php } @endphp
# Section Subsection Article Color Size Barcode MRP Qty Bin
{{ $key + 1 }} {{ !empty($article->maincategory) ? $article->maincategory->name : $row->section }} {{ !empty($article->category) ? $article->category->name : $row->subsection }} {{ $row->article }} {{ $row->color }} {{ $row->size }} {{ $row->barcode }} {{ $row->mrp }} {{ $row->qty }} {{ $row->boxnum }}