From 2b7a899ef8ea18c08555fb3236cb37b64be6f449 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Thu, 24 Aug 2023 11:43:44 -0700 Subject: [PATCH] removed unnecessary code --- app/Helpers/Helper.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php index 92f757e0e2..1eecb474af 100644 --- a/app/Helpers/Helper.php +++ b/app/Helpers/Helper.php @@ -711,7 +711,6 @@ class Helper foreach ($asset_models as $asset_model){ $used= new Asset(); - dd($asset_model->id); $count =$used->where('model_id', '==', $asset_model->id)->count(); $avail = Asset::withCount('model as model_count'); if ($avail < ($asset_model->min_amt) + \App\Models\Setting::getSettings()->alert_threshold) {