@if(isset($data->bannerUrl) && $data->bannerUrl != "") @endif

Cost Of Inventory Summary
@php $totalStockSum = 0; $totalInvoicePriceSum = 0; $totalListPriceSum = 0; $totalDiscountPriceSum = 0; @endphp @foreach($data->reportData as $index => $req) @php $totalStockSum += $req->totalStock; $totalInvoicePriceSum += $req->totalInvoicePrice; $totalListPriceSum += $req->totalListPrice; $totalDiscountPriceSum += $req->totalDiscountPrice; @endphp @endforeach
SL Product Name Total Stock Quantity Total List Price Total Sell Price Total Buying Price
{{$index + 1}} {{$req->name}} {{$req->totalStock ?? null}} {{number_format($req->totalListPrice ?? null, 2), 2}} {{number_format($req->totalDiscountPrice ?? null, 2), 2}} {{number_format($req->totalInvoicePrice ?? null, 2), 2}}
Total = {{$totalStockSum ?? null}} {{number_format($totalInvoicePriceSum, 2), 2}} {{number_format($totalListPriceSum, 2), 2}} {{number_format($totalDiscountPriceSum, 2), 2}}