{{-- A stock item's state as labels with an icon and text, not colour alone: negative balance, to order (at or below the reorder level), out of use or enough. --}} @props(['item']) class('inline-flex flex-wrap items-center gap-x-2 gap-y-1') }}> @if ($item->isNegative()) {{ __('inventory.status.negative') }} @elseif ($item->needsReorder()) {{ __('inventory.status.reorder') }} @else {{ __('inventory.status.ok') }} @endif @unless ($item->isActive) {{ __('inventory.status.inactive') }} @endunless