diff --git a/app/Http/Controllers/AssetsController.php b/app/Http/Controllers/AssetsController.php index 875243d0db..e65025ae13 100755 --- a/app/Http/Controllers/AssetsController.php +++ b/app/Http/Controllers/AssetsController.php @@ -1130,12 +1130,14 @@ class AssetsController extends Controller if ($request->has('warranty_months')) { $update_array['warranty_months'] = $request->input('warranty_months'); } + + if ($request->has('rtd_location_id')) { $update_array['rtd_location_id'] = $request->input('rtd_location_id'); if (($request->has('update_real_loc')) && (($request->input('update_real_loc')) == '1')) { - $update_array['location_id'] = $request->input('location_id'); + $update_array['location_id'] = $request->input('rtd_location_id'); } } diff --git a/resources/views/hardware/bulk.blade.php b/resources/views/hardware/bulk.blade.php index 8207e95715..8c0908c0c7 100755 --- a/resources/views/hardware/bulk.blade.php +++ b/resources/views/hardware/bulk.blade.php @@ -61,9 +61,9 @@
-