@extends('layouts.app') @section('heading', 'Inventory') @section('subheading', $store->name ?? '') @section('actions') History @if(auth()->user()->hasPermission('inventory.manage')) Update stock @endif @endsection @section('content')
@foreach($variants as $variant) @php $level = $levels[$variant->id] ?? null; @endphp @endforeach
SKUProductOn handReservedAvailable
{{ $variant->sku }}
{{ $variant->barcode }}
{{ $variant->label() }} {{ $level->on_hand ?? 0 }} {{ $level->reserved ?? 0 }} {{ $level?->available() ?? 0 }}
{{ $variants->links() }}
@endsection