mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 15:05:42 +00:00
revert again
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user