Skip to content

nventory Status Logic Displays Incorrect “Healthy” State When Stock Falls Below Minimum Threshold #3

Description

@MithunSrinivas28
Image

The inventory dashboard is currently showing incorrect stock health states for products whose current stock is below the configured minimum threshold.

Observed Behavior

Example from the UI:

Product: LED Bulb
Current Stock: 42
Minimum Threshold: 50
Status Displayed: Healthy

This is logically inconsistent because stock quantity is already below the minimum threshold and should trigger a low-stock warning state instead of “Healthy”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions