@extends('layouts.app') @section('content')

Stock & Sales Summary Report

@php $sr = 1; @endphp @foreach($results as $key => $row) @endforeach
Sr# Item Name Trade
Price
Opening
Qty
Purchases
Qty
Sales
Qty
Bonus Balance
Qty
{{ $key + 1 }} {{ $row->item_name }} {{ number_format($row->tradeprice, 2) }} {{ number_format($row->openingquantity),0,0 }} {{ number_format($row->qtyreceived),0,0 }} {{ number_format($row->qtyissued),0,0 }} {{ number_format($row->bonus),0,0 }} {{ number_format(($row->openingquantity + $row->qtyreceived) - ($row->qtyissued + $row->bonus)),0,0 }}
@endsection