{{ is_numeric(Auth::user()->active_unit) ? \App\Unit::query()->findOrFail(Auth::user()->active_unit)->name : 'NULL' }}
Inventory Transaction Of {{ $group_name }}
Report From {{ dateFormat($from) }} To {{ dateFormat($to) }}
{{-- view start --}}
| #SL |
Item |
Opening Qty |
Opening Value |
Goods Rcvd |
Goods Rcvd Value |
Goods Issue |
Goods Issue Value |
{{--Available Qty | --}}
Closing Qty |
Closing Value |
@php
$i = 1;
$total_opening_qty = 0;
$total_opening_value = 0;
$total_received_qty_ = 0;
$total_received_value = 0;
$total_issue_qty = 0;
$total_issue_value = 0;
$total_closing_qty = 0;
$total_closing_value = 0;
@endphp
@foreach($stockTransaction as $stock)
| {{ $i++ }} |
{{ $stock['group_name'] }} |
{{ round($stock['opening_qty'],2) }} |
{{ round($stock['opening_value'],2) }} |
{{ round($stock['goods_received_qty'],2) }} |
{{ round($stock['goods_received_value'],2) }} |
{{ round($stock['goods_issue_qty'],2) }} |
{{ round($stock['goods_issue_value'],2) }} |
{{ round($stock['closing_qty'],2) }} |
{{round( $stock['closing_value'],2) }} |
@php
$total_opening_qty += $stock['opening_qty'];
$total_opening_value += $stock['opening_value'];
$total_received_qty_ += $stock['goods_received_qty'];
$total_received_value += $stock['goods_received_value'];
$total_issue_qty += $stock['goods_issue_qty'];
$total_issue_value += $stock['goods_issue_value'];
$total_closing_qty += $stock['closing_qty'];
$total_closing_value += $stock['closing_value'];
@endphp
@endforeach
| Total |
{{round( $total_opening_qty,2) }} |
{{round( $total_opening_value,2) }} |
{{round( $total_received_qty_,2) }} |
{{round( $total_received_value,2) }} |
{{round( $total_issue_qty,2) }} |
{{round( $total_issue_value,2) }} |
{{round( $total_closing_qty,2) }} |
{{round( $total_closing_value , 2) }} |