@push('title') Stock Adjustments @endpush Stock Adjustments Note: This feature is only for stock adjustments, If you need to add a new stock please use the Purchase Order and GRN flow. Filter by Brand Select Brand @php $selectedBrandId = request('brand_id'); $selectedBrand = \App\Models\Brand::find($selectedBrandId); @endphp @if($selectedBrand) {{ $selectedBrand->name }} @endif Apply Filters Reset @if(request('brand_id') && $products->count() > 0) @csrf Product & Variation Warehouse Batch No Initial Stock Current Stock New Stock Level @foreach($products as $product) {{ $product->name }} - {{ $product->code }} @foreach($product->variations as $pv) @foreach($pv->batches as $batch) {{ $pv->variation_id ? ($pv->variationType->name ?? 'N/A') : 'Default' }} {{ $batch->warehouse->name ?? 'N/A' }} {{ $batch->batch_no }} {{ $batch->initial_stock }} {{ $batch->current_stock }} @endforeach @endforeach @endforeach {{ $products->withQueryString()->links() }} Update Page Stocks @elseif(request('brand_id')) No products found for the selected brand. @else Please select a brand to start adjusting stock levels. @endif
Note: This feature is only for stock adjustments, If you need to add a new stock please use the Purchase Order and GRN flow.
{{ $batch->batch_no }}
Please select a brand to start adjusting stock levels.