@extends('layouts.app') @section('title') {{'Item Wise Stock Ledger'}} @endsection @section('content')
| @php foreach($all_products as $val){ if($_GET['product_id'] == $val->id){ $product_name = $val->product_name; break; } } @endphp |
|---|
| Item Code: {{$_GET['product_id']}} |
| Item Name: {{$product_name}} |
| S.N. | Date | Voucher No. | Supplier/Customer Name | Vch Type | In Quantity | Out Quantity | Stock |
|---|---|---|---|---|---|---|---|
| 0 | {!! date('d-m-Y', strtotime($start_date))!!} | Opening Balance | -- | -- | -- | -- | {{ $opening_balance }} |
| {{ $i++ }} | {!! date('d-M-Y', strtotime($txn_date)) !!} | {{ $product['voucher_no'] }} | {{ $Supplier->name }} | {{ $product['vch_type'] }} | {{ isset($product['in']) ? $product['in'] : '' }} | {{ isset($product['out']) ? $product['out'] : '' }} | {{ $Balance }} |
| # | {!! date('d-m-Y', strtotime($end_date))!!} | Closing Balance | -- | -- | {{ number_format($T_Received,2) }} | {{ number_format($T_Sales,2) }} | {{ number_format($Balance,2) }} |