Fixed #4356 - removed reference to old assetloc

This commit is contained in:
snipe 2017-10-31 18:20:03 -07:00
parent a1eac967a7
commit feb2f5b076

View file

@ -419,7 +419,7 @@ class ReportsController extends Controller
*/ */
public function postCustom() public function postCustom()
{ {
$assets = Asset::orderBy('created_at', 'DESC')->with('company', 'assignedTo', 'assetloc', 'defaultLoc', 'model', 'supplier', 'assetstatus', 'model.manufacturer')->get(); $assets = Asset::orderBy('created_at', 'DESC')->with('company', 'assignedTo', 'location', 'defaultLoc', 'model', 'supplier', 'assetstatus', 'model.manufacturer')->get();
$customfields = CustomField::get(); $customfields = CustomField::get();
$rows = [ ]; $rows = [ ];