3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-30 12:24:53 +00:00

Port more assignedUser to assignedTo.

This commit is contained in:
Daniel Meltzer
2016-12-29 09:31:16 -05:00
parent 165487ac92
commit 8cc695b65f
16 changed files with 37 additions and 46 deletions

View File

@ -69,7 +69,7 @@ class ViewAssetsController extends Controller
public function getRequestableIndex()
{
$assets = Asset::with('model', 'defaultLoc', 'assetloc', 'assigneduser')->Hardware()->RequestableAssets()->get();
$assets = Asset::with('model', 'defaultLoc', 'assetloc', 'assignedTo')->Hardware()->RequestableAssets()->get();
$models = AssetModel::with('category')->RequestableModels()->get();
return View::make('account/requestable-assets', compact('user', 'assets', 'models'));