3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 17:05:28 +00:00

revert again

This commit is contained in:
Godfrey M
2025-12-03 13:22:46 -08:00
parent 39cf5ce66e
commit f6461a755a

View File

@ -784,7 +784,7 @@ class Helper
foreach ($consumables as $consumable) {
$avail = $consumable->numRemaining();
if ($avail <= ($consumable->min_amt) - $alert_threshold) {
if ($avail <= ($consumable->min_amt) + $alert_threshold) {
if ($consumable->qty > 0) {
$percent = number_format((($avail / $consumable->qty) * 100), 0);
} else {