Added: ability to change actual location from bulk edit assets

This commit is contained in:
snipe
2018-01-24 04:38:25 -08:00
parent 7cafa194c1
commit a7b8b4bf55
2 changed files with 24 additions and 1 deletions
@@ -1131,7 +1131,13 @@ class AssetsController extends Controller
}
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');
}
}
if ($request->has('status_id')) {
$update_array['status_id'] = $request->input('status_id');
}