mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
removed unnecessary code
This commit is contained in:
parent
0b956b2a46
commit
2b7a899ef8
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue