20260316i: Low-stock Bring prompt after use

- API returns total_remaining, product_name, unit, default_qty after use
- isLowStock() detects when inventory is running low (pz<=2, conf<=1, weight/vol<=25% of default)
- After using a product, if low stock detected, shows prompt asking to add to Bring shopping list
- Works in main USE form, USE ALL, and recipe ingredient USE
- Prompt chains properly: low-stock then move-after-use (if applicable)
- Skips prompt when product is fully depleted (already auto-added to Bring)
This commit is contained in:
dadaloop82
2026-03-16 14:59:55 +00:00
parent 1d8fb55f58
commit b4b68d6579
4 changed files with 114 additions and 13 deletions
BIN
View File
Binary file not shown.