Skip to content

A free open source IT asset/license management system

revert again

Godfrey Mf6461a755a18
diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php
index e5a337bfc5..bf59aa2fa8 100644
--- a/app/Helpers/Helper.php
+++ b/app/Helpers/Helper.php
@@ -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 {