Fixed #9404 - include note in accessory API

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-04-06 10:57:30 -07:00
parent 72806cf8db
commit e47e2e3754

View file

@ -254,7 +254,8 @@ class AccessoriesController extends Controller
'accessory_id' => $accessory->id,
'created_at' => Carbon::now(),
'user_id' => Auth::id(),
'assigned_to' => $request->get('assigned_to')
'assigned_to' => $request->get('assigned_to'),
'note' => $request->get('note')
]);
$accessory->logCheckout($request->input('note'), $user);