@extends('layouts.app') @section('title', 'Stock Report') @section('content')

Stock Report

Branch-wide stock balances, low stock, wastage and count differences.

@can('data.costs')@endcan

Current branch stock

Quantities combine all stock locations in the selected branch.

@can('data.costs')@endcan @forelse($products as $product) @can('data.costs')@endcan @empty@endforelse
ProductCategoryUnitAvailable quantityRe-order levelValue
{{ $product->name }}{{ $product->category->name ?? '—' }}{{ $product->unit->abbreviation ?? '—' }}{{ number_format($product->branch_quantity, 3) }}{{ number_format((float)$product->reorder_level, 3) }}{{ number_format($product->stock_value, 2) }}
No products match these filters.
@if($products instanceof \Illuminate\Pagination\LengthAwarePaginator)
{{ $products->links() }}
@endif
Stock count differences
@forelse($variance as $product)@empty@endforelse
ProductExpectedOn handDifference
{{ $product->name }}{{ number_format($product->branch_expected,3) }}{{ number_format($product->branch_quantity,3) }}{{ number_format($product->branch_variance,3) }}
No differences recorded.
Wastage in selected period
@forelse($wastage as $movement)@empty@endforelse
ProductQuantityReasonDate
{{ $movement->product->name ?? '—' }}{{ number_format(abs((float)$movement->quantity),3) }}{{ $movement->reason ?? '—' }}{{ $movement->created_at?->format('d M Y') }}
No wastage in this period.
@endsection