Article | Color | Subsection | @foreach($sizes as $size){{$size}} | @endforeachTotal | Mrp | Clearance Discount | Net Sales | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $i }} | {{ $row['article'] }} | {{ $row['color'] }} | {{ !empty($article->category) ? $article->category->name : '' }} | {{ $row['XS'] }} | {{ $row['S'] }} | {{ $row['M'] }} | {{ $row['L'] }} | {{ $row['XL'] }} | {{ $row['2XL'] }} | {{ $row['3XL'] }} | {{ $row['4XL'] }} | {{ $row['5XL'] }} | {{ $row['6XL'] }} | {{ $row['7XL'] }} | {{ $row['FREE'] }} | @php $totalTotal += $row['XS'] + $row['S'] + $row['L'] + $row['M'] + $row['XL'] + $row['2XL'] + $row['3XL'] + $row['4XL'] + $row['5XL'] + $row['6XL'] + $row['7XL'] + $row['FREE']; $gtotalTotal += $totalTotal; $gtotalXS += $row['XS']; $gtotalS += $row['S']; $gtotalL += $row['L']; $gtotalM += $row['M']; $gtotalXL += $row['XL']; $gtotal2XL += $row['2XL']; $gtotal3XL += $row['3XL']; $gtotal4XL += $row['4XL']; $gtotal5XL += $row['5XL']; $gtotal6XL += $row['6XL']; $gtotal7XL += $row['7XL']; $gtotalFREE += $row['FREE']; $gtotalsales += $row['sales']; $gtotaldiscount += $row['discount']; @endphp{{$totalTotal}} | {{ !empty($row['minmrp']) ? $row['minmrp'] : '' }} - {{ !empty($row['maxmrp']) ? $row['maxmrp'] : '' }} | {{$row['discount']}} | {{$row['sales']}} | |
{{ $i }} | {{$clearenceArticle->article}} | {{$clearenceArticle->color}} | {{ !empty($article->category) ? $article->category->name : '' }} | {{$xs}}(%) | {{$s}}(%) | {{$l}}(%) | {{$m}}(%) | {{$xl}}(%) | {{$xl2}}(%) | {{$xl3}}(%) | {{$xl4}}(%) | {{$xl5}}(%) | {{$xl6}}(%) | {{$xl7}}(%) | {{$free}}(%) | |||||
{{$gtotalXS}} | {{$gtotalS}} | {{$gtotalM}} | {{$gtotalL}} | {{$gtotalXL}} | {{$gtotal2XL}} | {{$gtotal3XL}} | {{$gtotal4XL}} | {{$gtotal5XL}} | {{$gtotal6XL}} | {{$gtotal7XL}} | {{$gtotalFREE}} | {{$gtotalTotal - $exchangeCounts}} | {{$gtotaldiscount}} | {{$gtotalsales - $totalExchangeAmt}} |