Commented out erroneous fixme

This commit is contained in:
snipe 2017-11-03 20:10:05 -07:00
parent 12caa48390
commit ecd21074fb

View file

@ -1121,14 +1121,7 @@ class Asset extends Depreciable
$query->where('locations.id', '=', $search);
});
});
// FIXME: This needs porting to checkout to non-user.
// ->orWhere(function ($query) use ($search) {
// $query->whereHas('assigneduser', function ($query) use ($search) {
// $query->whereHas('userloc', function ($query) use ($search) {
// $query->where('locations.id', '=', $search);
// });
// });
// });
}