@php $intcount = 1; $openbalance = 0; $totreceipt = 0; $totissue = 0; $currbalance = 0; @endphp @foreach($fixassetsuppldt as $keyone => $itemone) @php $openbalance = getopenbalance($itemone->prosupplid); $totreceipt = $itemone->sumrecpquant; $totissue = $itemone->sumissuequant; $currbalance = ($openbalance + $totreceipt) - $totissue; @endphp @php $intcount++; @endphp @endforeach
KIRORI MAL COLLEGE (UNIVERSITY OF DELHI)
 
CONSUMABALE STOCK LEDGER DATA
 
S. No. Item Name Open Balance Total Receipt Total Issue Current Balance
{{ $intcount }} {{ getitemname($itemone->prosupplid) }} {{ Round($openbalance,0) }} {{ Round($totreceipt,0) }} {{ Round($totissue,0) }} {{ Round($currbalance,0) }}