{{ count($rows) }} records
@if (count($rows) === 0)
{{ __('common.no_records') }}
@else
| {{ __('common.item') }} |
{{ __('common.warehouse') }} |
{{ __('common.unit') }} |
{{ __('stock_report.qty_in') }} |
{{ __('stock_report.qty_out') }} |
{{ __('common.balance') }} |
@foreach ($rows as $idx => $row)
@php
$bal = (float) $row->current_balance;
$balClass = $bal > 0 ? 'sr-bal-pos' : ($bal < 0 ? 'sr-bal-neg' : 'sr-bal-zero');
@endphp
| {{ $row->item_name }} |
{{ $row->warehouse_name }} |
{{ $row->unit_name }} |
{{ $row->total_qty_in }} |
{{ $row->total_qty_out }} |
{{ $row->current_balance }} |
@endforeach
@endif