Merge branch 'develop' of https://github.com/snipe/snipe-it into develop
This commit is contained in:
commit
0658f17359
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class ReportsController extends Controller
|
|||
$this->authorize('reports.view');
|
||||
$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);
|
||||
|
|
Loading…
Add table
Reference in a new issue