A free open source IT asset/license management system
Fix deprecation report for customers with many active assets
Brady Wetherington5128992940b8
diff --git a/app/Http/Controllers/ReportsController.php b/app/Http/Controllers/ReportsController.phpindex 727d04308d..a892f0c931 100644--- a/app/Http/Controllers/ReportsController.php+++ b/app/Http/Controllers/ReportsController.php@@ -102,7 +102,7 @@ class ReportsController extends Controller$depreciations = Depreciation::get();// Grab all the assets- $assets = Asset::with( 'assignedTo', 'assetstatus', 'defaultLoc', 'location', 'assetlog', 'company', 'model.category', 'model.depreciation')+ $assets = Asset::with( 'assignedTo', 'assetstatus', 'defaultLoc', 'location', 'company', 'model.category', 'model.depreciation')->orderBy('created_at', 'DESC')->get();return view('reports/depreciation', compact('assets'))->with('depreciations',$depreciations);