@if(isset($data->bannerUrl) && $data->bannerUrl != "") @endif
LEDGER REPORT
{{-- --}} {{-- --}} {{-- --}} @foreach($data->reportData as $index => $obj) @php // $totalOpeningAmount = $obj->openStock * $obj->averagePrice; $totalInAmount = $obj->totalInQty * $obj->averagePrice; $totalOutAmount = $obj->totalInQty * $obj->averagePrice; $totalCurrentAmount = $obj->totalInQty * $obj->averagePrice; @endphp {{-- --}} {{-- --}} @endforeach {{-- @if($size > 0)--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @endif--}}
Opening BalanceReceive/In Issue/Out Balance
SL SKU Name Average PriceQuantityAmount
(BDT)
Quantity Amount
(BDT)
Quantity Amount
(BDT)
Quantity Amount
(BDT)
{{$index + 1}} {{$obj->productItem->productSKU}} {{$obj->productItem->name}} {{number_format($obj->averagePrice, 2), 2}}{{$obj->openStock}}{{number_format($totalOpeningAmount, 2), 2}}{{$obj->totalInQty}} {{number_format($totalInAmount, 2), 2}} {{$obj->totalOutQty}} {{number_format($totalOutAmount, 2), 2}} {{$obj->currentStock}} {{number_format($totalCurrentAmount, 2), 2}}
Total--}} {{-- {{number_format($data->reportData[count($data->reportData) - 1]->currentStock, 2), 2}}--}} {{-- --}} {{-- {{number_format($data->reportData[count($data->reportData) - 1]->listPrice, 2), 2}}--}} {{-- --}} {{-- {{number_format($data->reportData[count($data->reportData) - 1]->listPrice * $data->reportData[count($data->reportData) - 1]->currentStock, 2), 2}}--}} {{--