@extends('layouts.backend') @section('extraCss') @endsection @section('mainContentArea')

Audit Article Sizewise Report

Filter

Export Excel
Warehouse Store Category Article Color ACTION
@foreach($sizes as $size) @endforeach @php if(count($rows) > 0) { @endphp @php $totalcountallsize = 0 ; @endphp @foreach($rows as $key => $row) @php $totalrow = 0 ; @endphp @php $article = \App\Article::with('category')->with('maincategory')->select('image')->where('code',$productRows[$row]['article'])->first(); @endphp @foreach($sizes as $size) @endforeach @endforeach @foreach($sizes as $size) @endforeach @php } @endphp
# store Section Subsection Image Article Color{{$size}}Total
{{ $key + 1 }} {{ $productRows[$row]['store'] }} {{ !empty($article->maincategory) ? $article->maincategory->name : $productRows[$row]['section'] }} {{ !empty($article->category) ? $article->category->name : $productRows[$row]['subsection'] }} {{ $productRows[$row]['article'] }} {{ $productRows[$row]['color'] }} {{ empty($articleProductCombinations[$row][$size]) ? 0 : $articleProductCombinations[$row][$size] }} @php if(empty($productCountSize[$size])) { $productCountSize[$size] = 0; } if(empty($articleProductCombinations[$row][$size])) { $articleProductCombinations[$row][$size] = 0; } $totalrow += (int)$articleProductCombinations[$row][$size] ; $productCountSize[$size]+= (int)$articleProductCombinations[$row][$size]; @endphp {{$totalrow}}
{{ empty($productCountSize[$size]) ? 0 : $productCountSize[$size] }} {{$grandTotal}}
@endsection @section('extraJs') @endsection