Fixed wonky merge :(

This commit is contained in:
snipe 2019-02-13 06:52:36 -08:00
parent 533649f24e
commit cd333fa93b
2 changed files with 3 additions and 2 deletions

View file

@ -362,7 +362,7 @@ class AssetsController extends Controller
'assets.assigned_to',
'assets.assigned_type',
'assets.status_id'
])->with('model', 'assetstatus', 'assignedTo')->NotArchived());
])->with('model', 'assetstatus', 'assignedTo')->NotArchived(), 'company_id', 'assets');
if ($request->filled('assetStatusType') && $request->input('assetStatusType') === 'RTD') {
$assets = $assets->RTD();

View file

@ -156,8 +156,9 @@ class AssetsController extends Controller
$image = $request->input('image');
$asset->asset_tag = $asset_tags[$a];
$asset->asset_tag = $asset_tags[$a];
$asset = $request->handleImages($asset);
}
// Update custom fields in the database.