mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Pulled assetlog from custom report controller
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
284b4d869f
commit
3192a68b06
|
@ -589,7 +589,7 @@ class ReportsController extends Controller
|
|||
\Log::debug('Added headers: '.$executionTime);
|
||||
|
||||
$assets = \App\Models\Company::scopeCompanyables(Asset::select('assets.*'))->with(
|
||||
'location', 'assetstatus', 'assetlog', 'company', 'defaultLoc', 'assignedTo',
|
||||
'location', 'assetstatus', 'company', 'defaultLoc', 'assignedTo',
|
||||
'model.category', 'model.manufacturer', 'supplier');
|
||||
|
||||
if ($request->filled('by_location_id')) {
|
||||
|
|
Loading…
Reference in a new issue