Sakemo / Sakemo/sgvs-api

Low Stock Alert

Open
#1 0 comments 0 reactions 1 assignee View on GitHub

@Sakemo is already working on this.

Since Jul 24, 2025.

enhancement
Dominant language
Java
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

What: On the Product form, add a "Minimum Stock Level" field. If, after a sale, the stock Quantity of a product falls below this level, the system generates a notification.

How: It can start with a "toast" notification on the frontend for the person who made the sale. In the future, this could evolve into an alert icon in the sidebar, a widget on the dashboard ("Low Stock Products"), or even an email. The backend already has the stock update logic; we just need to add an if statement.

Value: It transforms the system from reactive (the user discovers that the stock is low) to proactive (the system notifies them to buy more), preventing lost sales.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.