mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fixed wonky merge :(
This commit is contained in:
parent
533649f24e
commit
cd333fa93b
|
@ -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();
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue